WordPress.org

Support

Support » Plugins and Hacks » HeadSpace2 SEO » [Plugin: HeadSpace2 SEO] Manual code?

[Plugin: HeadSpace2 SEO] Manual code?

  • Hi,

    This plugin is great! I have no issues except I want to integrate it for facebook’s open graph. For the description I used:
    bloginfo('description')

    But the problem is it retrieves the site’s “description”. I wanted to get headspace’s description. Is a manual code for this?

    Thanks

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Megatoon – Did you ever figure out a solution for this? I would like to do the same thing.

    hi,

    Actually, I forgot about this and they seem to not bother about this.. But I had an idea (but not tested yet). PHP has a function called get_meta_tags, search google for more info.. Anyway, here is my code:

    <? $the_url = get_permalink(); $tags = get_meta_tags($the_url); ?>
     <meta property="og:description" content="<?php echo $tags['description']; ?>" />

    hope this works or at least give you an idea 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: HeadSpace2 SEO] Manual code?’ is closed to new replies.
Skip to toolbar