Support » Plugin: Simple Facebook Connect » [Plugin: Simple Facebook Connect] How do I disable the Like button on a page?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have a similar issue. I want that like button only on posts… not on pages. Now they’re just everywhere. I’ll be watching htis thread!

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    If it’s a specific page and you’re using a custom Page Template for that page, then the easiest way is to add this to the top of the page template (before the get_header() call):

    remove_filter('the_content', 'sfc_like_button_automatic', 30);

    If you want to remove it on all pages, then adding similar code in the page.php file in the theme would do the trick.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Simple Facebook Connect] How do I disable the Like button on a page?’ is closed to new replies.