0

It's possible to disable a plugin just for a post?

I'm displaying a post in my footer but I've installed Simple Facebook Share Button and I don't know how to remove that button.

Unfortunately I can't use css to hide the button :(

How can I do this?

Thanks

1 Answer 1

2

Do you have a custom query in the footer that includes the post? If so, please try the following code before the loop the displays the footer post:

<?php remove_filter( 'the_content', 'SFBSB_auto' ); ?>
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.