Hi there!
The current version of the plugin lets you pick a predefined post thumbnail size, although this feature is available only to the WPP widget.
As for picking a custom time range, although it’s not complete (eg. you can’t set a custom time range from the widget yet) it’s stable enough for daily use. And yes, this feature is available on WPP 4 only.
Thanks for the reply! Apologies if my comment wasn’t clear, I was referring to the Post Thumbnails that was added with add_image_size(). Can I use a thumbnail inside the output with the current version?
Yes, you can 🙂 The {thumb} / {thumb_img} content tags will display whatever thumbnail you told WPP to use.
Whoops, I didn’t realise I need to save the widget settings to see the additional options!
Also, is there anyway I can select the specific thumbnail in the template tag (post_html)?
Hi again, have been trying things out and I’m still a bit confused about the thumbnails. Below is a sample code in which I’m using the wpp_get_mostpopular() template tag. How do I select which thumbnail size to use in this situation?
Secondly, does the “Ajaxify widget” option still work in this situation?
wpp_html = '<div class="col-xs-12 col-sm-4 col-lg-4 boxy">
<div class="content panel panel-default">
<div class="panel-image">{thumb}</div>
<div class="panel-content">
<div class="panel-body">
<div class="panel-category">{category}</div>
<div class="panel-title">{title}</div>
<div class="panel-excerpt">{summary}</div>
</div>
</div>
</div>
</div>';
$args = array(
'freshness' => 1,
'stats_category' => 1,
'post_html' => $wpp_html,
'post_type' => 'post'
);
wpp_get_mostpopular( $args );
The current version of the plugin lets you pick a predefined post thumbnail size, although this feature is available only to the WPP widget.
If you’re using the wpp_get_mostpopular() template tag then you won’t be able to use a predefined thumbnail size. As stated above, this is a feature only available for the widget.
Secondly, does the “Ajaxify widget” option still work in this situation?
Nope. It’s called Ajaxify widget for a reason 😛 This is widget-exclusive feature too.
Aww shucks… that’s what I’m afraid of :/ I’ll work with the widget instead then. Thanks so much for your replies.!
-
This reply was modified 9 years, 2 months ago by
teugene.