How to disable filters on certain pages?
-
Hello,
I must say it’s a great plugin.
I have couple of questions to make it perfect for me.I would like to disable the filters on certain pages.
So, if I could use something likeremove_filter('the_content', 'share'); remove_filter('the_content', 'share_excerpt'); remove_filter('the_content', 'share');
in my template – that would be great, but this does not work.
Can you advice me what’s missing? For now, I modified a bit the code of the plugin, and I hope to get some better solution soon:function share_excerpt($content) { if (is_feed() || is_archive()) {
https://www.ads-software.com/plugins/social-sharing-toolkit/
- The topic ‘How to disable filters on certain pages?’ is closed to new replies.