SSchat
Member
Posted 4 months ago #
HI,
just wondering if it is possible to disable the content-filter for specific widgets?
eg:
i added a plugin which adds some 'share' buttons to posts.
These are now also visible on the widgets.
I dont want that.
(add an option to the widget form itself? 'disable the filter?' )
http://wordpress.org/extend/plugins/widget-builder/
SSchat
Member
Posted 4 months ago #
or maybe dont make it a 'post' - type, but a new type like 'widget'?
so the content-filters for type: post, dont get applied.
Timothy Wood
Member
Plugin Author
Posted 4 months ago #
By default it uses the post functionality built into WP for compatibility reasons. Typically the crossover happens when a plugin developer doesn't honor use of the_content tag on a page and just dumps their code in without checking if it's the main page content or not. One way around this is to unhook the plugin when it shouldn't be used if that is an option.