Forums

Simple Facebook Connect
Remove FB meta tags from Simple FB Connect (3 posts)

  1. René
    Member
    Posted 5 months ago #

    Hi, could you please tell me how to stop Simple Facebook Connect to display FB meta tags because is messing with my other plugins.
    I know I'm suppose to edit sfc-base.php but don't know what exactly to change.

    Thanks...

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

  2. Otto
    Tech Ninja
    Posted 5 months ago #

    You don't have to edit the plugin.

    If you really want to remove the meta tags, you can use something like this in your theme:

    remove_action('wp_head','sfc_base_meta');

    However, this will have serious side-effects and you will lose a load of functionality. I've put a rather extreme amount of effort into the meta tags, and I can say that the meta tags SFC builds are very likely better than any other plugins around. The new 1.2 adds video and audio support, for example, which virtually nobody else has.

    So I'd recommend getting rid of any other meta tags instead, and letting SFC handle it for you. Really. If you want to modify just some of the meta tags, you can use the sfc_base_meta filter to modify the array of meta tags as they are output to the page.

  3. René
    Member
    Posted 5 months ago #

    The problem with SFC is that when I share via FB all of the images from a post are considered og:img and I want only the featured image to be available for FB sharing.

    That's the only reason. I actually use your plugin only for displaying FB Connect inside comments and for that only. A great plugin indeed.

    Cheers!

Reply

You must log in to post.

About this Plugin

About this Topic