WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. canutedechou
    Member
    Posted 3 years 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. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 3 years ago #

    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 3 years 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. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 3 years ago #

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

  5. llaughy
    Member
    Posted 3 years 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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic