Support » Plugin: SEO Facebook Comment » [Plugin: SEO Facebook Comment] disabling Fb comments for specific page/post

  • I add the following code to enable a custom field to disable fb comments for particular page/post.

    I think it can be very useful for many people:

    // Simon Weil - 14.10.2012 - if fb comments closed for current page/post return
    $field_status = get_post_custom_values("disable_seo_fb_comments");
    if ( isset($field_status[0]) && $field_status[0] === "true" )
    	return $comments;

    on line 407 in seofacebook.php (function FbComments).

    Thanks for a great plugin!
    Simon

    http://wordpress.org/extend/plugins/seo-facebook-comments/

  • The topic ‘[Plugin: SEO Facebook Comment] disabling Fb comments for specific page/post’ is closed to new replies.