WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] Changing the size of the thumbnail's post (4 posts)

  1. Sebastien
    Member
    Posted 1 year ago #

    Hi everyone

    First of all I'd like to thank you for this great plugin ;)

    The thumbnail's post on one of my blog are displaying badly because they're resized in HTML.
    Is it possible to set the size of the thumbnail's post the way we want ?

    Thanks.

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

  2. ltickett
    Member
    Posted 1 year ago #

    I'm seeing the same issue with a blog i have just taken over. The plugin is showing the full size photos resized in html. I have checked and smaller version of the photos are available, not sure why they're not being picked up?

    Thanks

    Lee

  3. ltickett
    Member
    Posted 1 year ago #

    I was able to fix by modifying the template-thumbnails.php

    Replaced this line:
    //$post_thumbnail_html = get_the_post_thumbnail( null, $dimensions['size'] );

    With this:
    $post_thumbnail_html = get_the_post_thumbnail( get_the_ID(), array(120,120) );

  4. Sebastien
    Member
    Posted 1 year ago #

    thank you for the tip, it works perfectly to fit the thumbnails size !

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic