WordPress.org

Ready to get started?Download WordPress

Forums

Simple Facebook Connect
[resolved] Stop Publisher from sending Pages? (5 posts)

  1. bnylus
    Member
    Posted 2 years ago #

    Can't remember but the old version didn't pick up Pages but now whenever I publish a Page (not post), it also shows up on FB. This can lead to some embarrassing issues e.g. when setting up a thank you page for specific subscribers etc.

    I'm publishing to Fan Page not profile.

    Can I turn off auto publish for Pages and keep auto publishing posts? - Am I simply missing a setting somewhere?

    Thanks!

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

  2. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    There's no setting for this, but there is a filter you can use.

    This code in your theme's functions.php or in a separate plugin will disable the auto-publish on Pages:

    add_filter('sfc_publish_post_types','my_post_types');
    function my_post_types($types) {
    	unset($types['page']);
    	return $types;
    }
  3. bnylus
    Member
    Posted 2 years ago #

    Thank you! Really appreciate that.

  4. Chris Moguel
    Member
    Posted 2 years ago #

    Thanks for the snippet Otto... exactly what I'm looking for to integrate with Tribe's Event Calender Plugin so it doesn't autopost venues and organizers.

  5. EA Media
    Member
    Posted 1 year ago #

    Is there a way to exclude posts from specific categories?

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic