Forum Replies Created

Viewing 1 replies (of 1 total)
  • I would also like to do this.

    With the new Facebook Open Graph stuff, you can define a thumbnail for that page in your <head> of the form
    <meta property="og:image" content="[image url]"/>.

    I would like to use
    <meta property="og:image" content="<?php the_post_thumbnail(); ?>"/>
    but since this is outside the loop, the tag returns nothing.

    Is there a way to get this to work outside the loop?

    Thanks

Viewing 1 replies (of 1 total)