Support » Plugin: Yet Another Related Posts Plugin (YARPP) » Changing the size of the thumbnail's post

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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

    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) );

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing the size of the thumbnail's post’ is closed to new replies.