Forums

Yet Another Related Posts Plugin
[resolved] how to use the_post_thumbnail (5 posts)

  1. canutedechou
    Member
    Posted 10 months ago #

    hi
    is there any way to display thumbnails on related post but using the_post_thumbnail?
    thanks

    http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/

  2. You can do this using the YARPP templates feature. There's a bundled template, in fact, which can do this. More info here: http://mitcho.com/blog/projects/yarpp-3-templates/

  3. canutedechou
    Member
    Posted 10 months ago #

    i saw those ones
    the problem is that they are not getting the image at the_post_thumbnail, they are showing one wich is declared on the custom fields
    and i need to show the one used on the_post_thumbnail
    any idea?

  4. The template yarpp-template-thumbnail.php is indeed using the_post_thumbnail().

  5. llaughy
    Member
    Posted 10 months ago #

    I had to rework the included thumbnail template to get it to work right with my setup. When you upload your image are you selecting the "use as featured image" button instead of "insert into post"? I ended up doing it this way and then inserting the_post_thumbnail() into single.php where I wanted the related thumbnails to show up. Maybe that will help with which images get pulled?

Reply

You must log in to post.

About this Plugin

About this Topic