Support » Plugin: All in One SEO Pack » get title, description and url?

Viewing 3 replies - 1 through 3 (of 3 total)
  • put this inside while have_posts tag

    <meta property="og:url" content="<?php the_permalink() ?>"/>
    <meta property="og:title" content="<?php single_post_title(''); ?>" />
    <meta property="og:description" content="<?php echo the_excerpt_rss($post->ID); ?>" />

    Hi Crossx,

    thanks for reply…

    How i can implement this code for my cratch wp theme.

    sorry for my english.

    regards,

    uday

    Plugin Contributor Peter Baylies

    (@pbaylies)

    Reza,

    I’d suggest you try using the Social Meta module for this instead.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘get title, description and url?’ is closed to new replies.