WordPress.org

Ready to get started?Download WordPress

Forums

Making a post thumbnail show on Facebook (1 post)

  1. Kargo
    Member
    Posted 2 years ago #

    Hey all, I've been experiencing a problem. I use WordPress to run a news site and I've found that when sharing a post through Facebook it does not share the thumbnail, only the title and description.

    I've researched the Facebook meta tags such as the 'meta property="og:image"' code however most tutorials I read use the WordPress default post thumbnail system.`

    On my site to display images I use p75GetThumbnail . For example making an image show on Single.php I would use <img border="0" src="<?php echo p75GetThumbnail($post->ID, 600, 190); ?>" alt="">

    How could I get this to work with Facebook's meta tags?

    Many Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic