WordPress.org

Ready to get started?Download WordPress

Forums

Simple Facebook Connect
[resolved] Recommend button on pages (3 posts)

  1. sheffiecochran
    Blocked
    Posted 2 years ago #

    I have gone through the code and I'm not seeing a way to remove this. I just want the button on the blog, not the pages. Any ideas?

    http://wordpress.org/extend/plugins/simple-facebook-connect/

  2. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    Put something like this into your theme's functions.php file, or into a site-specific plugin.

    add_filter('sfc_like_post_types', 'sfc_like_no_pages');
    function sfc_like_no_pages($types) {
      unset($types['page']);
      return $types;
    }
  3. sheffiecochran
    Blocked
    Posted 2 years ago #

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic