WordPress Popular Posts
Feature request: thumbnail dimensions update (1 post)

  1. katwhite
    Posted 4 years ago #

    First off, fantastic plugin!

    I updated my copy to use BOTH the user-selected width and height for "user selected thumbnails" on line 703 as follows:

    $thumb = "<a href=\"".get_permalink($wppost->ID)."\" title=\"". $title_attr ."\">" . get_the_post_thumbnail($wppost->ID, array($tbWidth<strong>,$tbHeight</strong>), array('class' => 'wpp-thumbnail', 'alt' => $title_attr, 'title' => $title_attr) ) ."</a> <!-- $tbWidth $tbHeight-->";

    Otherwise, it doesn't hold the dimensions and crop the thumbnail to display the way I actually wanted.

    I'm fine with my updates, but I'd like to request this be added in future versions! Thanks so much for your fantastic work!

    (this may belong under hacks, apologies if so.)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Popular Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 4 years ago by katwhite
  • This topic is not a support question
  • WordPress version: 3.0.5