WordPress.org

Ready to get started?Download WordPress

Forums

Facebook
[resolved] Can I disable the OGs? (3 posts)

  1. telwp
    Member
    Posted 1 year ago #

    My WP install is very modified and I'm already supplying the required OG: entries on the specific pages I want them within my template (I have some FB plugins running).

    Can I disable this plugin creating OG entries? At the moment it's doubling up the tags on the pages that already have them and it's creating tags on pages where I don't want them added.

    I'd rather not hack the core files but if I have to I will, and I'll note my modifications down incase of future updates.

    Thanks

    http://wordpress.org/extend/plugins/facebook/

  2. Niall Kennedy
    Member
    Plugin Author

    Posted 1 year ago #

    The Facebook plugin for WordPress adds Open Graph protocol markup by attaching a function to the wp_head action.
    http://plugins.trac.wordpress.org/browser/facebook/tags/1.3/facebook.php#L281

    If you would like to unhook the function you can use remove_action.

  3. telwp
    Member
    Posted 1 year ago #

    Thank you, just what I needed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags