First of all, great plugin – love it!
Second of all, the widget shows up on search results pages if a post type for which the widget is checked to show is in the results.
What’s great is that your code even has a comment with the solution in it ?? Check line 35 of the main PHP file:
if(!is_archive() && !is_front_page() && in_array(get_post_type(get_the_ID()), $conditionals_post_list))
should be:
if(is_singular() && !is_front_page() && in_array(get_post_type(get_the_ID()), $conditionals_post_list))
Also, while your at it I might suggest just running phpTidy to format your code to better match www.ads-software.com coding standards. Just nitpicking now, overall fantastic plugin!
https://www.ads-software.com/plugins/view-template-widget-for-toolset-types-views/
]]>Hi khromov,
are you planning an update for WP 3.8.1?
Is your Views-PlugIn well working together with WP 3.8.1 & views 2.5.1?
Thanks very much for an replay!
https://www.ads-software.com/plugins/view-template-widget-for-toolset-types-views/
]]>Hi there,
First of all, great idea for a plugin. I’ve been doing this manually forever and it’s nice to have an alternative. One issue though: if my content template returns nothing (say I’m generating a download button based on a custom field, and it doesn’t exist on this post), the plugin still outputs a blank widget. Instead, I would like it to only output the widget container if there is some content produced form the content template. Make sense? Thanks!
https://www.ads-software.com/plugins/view-template-widget-for-toolset-types-views/
]]>Hi in my view template widgets it shows only 10 templates in the selectbox.
Could you fix this bug? ..if it is a bug ??
thx for help & greetings
peter
https://www.ads-software.com/plugins/view-template-widget-for-toolset-types-views/
]]>