Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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' ); ?>
share|improve this answer
    
nice, thanks! it worked :) –  patrick Feb 28 '11 at 22:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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