[Plugin: WordPress Popular Posts] Feature request: thumbnail dimensions update
-
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.)
- The topic ‘[Plugin: WordPress Popular Posts] Feature request: thumbnail dimensions update’ is closed to new replies.