Hi, this is simple … look here are the instructions..
http://codex.ww.wp.xz.cn/Post_Type_Templates
Thread Starter
qugo
(@qugo)
I meant can I create different template for related post block?
For example, for one type of post related posts showing with picture, for other without.
You can make the plugin only exit post types you want, the plugin if you have that option.
screenshot
Thread Starter
qugo
(@qugo)
It is not what I meant. In this case related posts will switched off. But I would like to have related posts switched on, but shown in a different way. So I would like to have two different template for showing related posts. For one custom post type – one template, for other post type – another one.
Can I do this?
Thread Starter
qugo
(@qugo)
There is tab “STYLING” in plugin. Unfortunately, I can set one style for all post types.
But I would like to have different STYLING for different custom post types.
Is it possible?
It is not possible, Yuzo works with the same configuration for all.
Thread Starter
qugo
(@qugo)
Can I expect this feature in future? I think it will make this plugin more flexible.
And your options you need to be different?
And it would be through Yuzo function, eg:
echo get_yuzo_related_posts( $option1=1, $option2="yes", etc...... );
Thread Starter
qugo
(@qugo)
it will be perfect if a can use this function in such way
echo get_yuzo_related_posts( $template=template_name);
and the plugin use template file which i create in theme folder
Very complicated, and the plugin is not made for that. The maximum that could help is a function and you can based on parameters set within each template.