Title: [Plugin: Simple Facebook Connect] Disable functionnalities when not using it
Last modified: August 20, 2016

---

# [Plugin: Simple Facebook Connect] Disable functionnalities when not using it

 *  Resolved [madri2](https://wordpress.org/support/users/madri2/)
 * (@madri2)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-disable-functionnalities-when-not-using-it/)
 * Hi,
 * i’m using simple facebook connect only to provide a way for users to login using
   facebook. I’ve checked only the “Allow FB Login to Comment (for non-registered
   users)” fonctionnality.
 * The problem is, like a lot of people said before, sfc does call the_content filters
   to get the content to “publish to facebook”. But i’m not using that feature, 
   and my shortcodes/filters are still called twice by page.
 * I’ll help you, it’s n the file sfc-base.php, on line 489,
    i commented “add_action(‘
   wp_head’,’sfc_base_meta’);” and the user can still log in with facebook and the
   filters/shortcodes aren’t processed twice.
 * You just need to add a check of the need to process the content.
 * [http://wordpress.org/extend/plugins/simple-facebook-connect/](http://wordpress.org/extend/plugins/simple-facebook-connect/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-disable-functionnalities-when-not-using-it/#post-2843532)
 * No, that feature is there by design and won’t be made optional. The name of the
   plugin is “Simple”, it’s supposed to do that sort of thing in the background.
 * Shortcodes/filters and such are supposed to be capable of being called twice.
   If they aren’t, then they’re doing-it-wrong.
 *  Thread Starter [madri2](https://wordpress.org/support/users/madri2/)
 * (@madri2)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-disable-functionnalities-when-not-using-it/#post-2843533)
 * they are able to be caled twice, but it slow down the rendering of the page.
 * So, just add a check to just disable the shortcodes & filters or just shortcodes.
   It’s just one option, the plugin will still be simple.
 * You may even also don’t add any other option, just a little “if” on the code 
   to not filter the content if it’s not needed.
 *  Plugin Author [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-disable-functionnalities-when-not-using-it/#post-2843534)
 * > it slow down the rendering of the page
 * By a fractions of a millisecond, at most. It will be completely unnoticable to
   any significant degree.
 * ALL code will “slow down rendering of the page” in that respect. If you want 
   to speed up your site, use caching systems like W3 Total Cache or WP-Super-Cache.
   Going in and editing minor little deals like this is [premature-optimization](http://c2.com/cgi/wiki?PrematureOptimization),
   which is the true root-of-all-evil.
 *  Thread Starter [madri2](https://wordpress.org/support/users/madri2/)
 * (@madri2)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-disable-functionnalities-when-not-using-it/#post-2843536)
 * there are plugins that use shortcode to displays a lot of datas, with a lot of
   queries & so on.
 * Adding the possibility to disable the filters and shortcodes can be done in not
   so much time and i think all the people that have problem with shortcodes evaluated
   twice will be happy
 *  [COCOCO](https://wordpress.org/support/users/cococo/)
 * (@cococo)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-disable-functionnalities-when-not-using-it/#post-2843553)
 * Same here. This plugin slow down my website too and looking into this forum I’ve
   found many with the same issue.
    Otto, maybe is time to admit your code need 
   improvements 😉
 *  Plugin Author [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-disable-functionnalities-when-not-using-it/#post-2843554)
 * COCOCO: If you don’t like it, don’t use the plugin. The plugin works fine for
   me and many others as is.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: Simple Facebook Connect] Disable functionnalities when not using
it’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-facebook-connect_a9b9c1.svg)
 * [Simple Facebook Connect](https://wordpress.org/plugins/simple-facebook-connect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-facebook-connect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-facebook-connect/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-facebook-connect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-facebook-connect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-facebook-connect/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-disable-functionnalities-when-not-using-it/#post-2843554)
 * Status: resolved