mathvp
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Plugins
In reply to: [WP Popular Posts] Post list position different in Dashboard statsHi Héctor, thanks for your quick response!
No, this option is disabled:
https://imgur.com/A5A3SrDI tried to list the Popular Posts by code using a shortcode:
function most_viewed(){ $args = array( 'post_type' => 'post', 'header' => 'Mais acessadas nos últimos 7 dias', 'header_start' => '<h2 class="widget-title">', 'header_end' => '</h2>', 'wpp_start' => '<div class="grid__slider__carousel">', 'wpp_end' => '</div>', 'post_html' => '<div class="card__post card__post-list">{thumb} <div>{title} <div class="wpp-meta post-stats">{item_position}º lugar</div></div></div>', 'title_length' => 55, 'thumbnail_width' => 150, 'thumbnail_height' => 150, 'order_by' => 'views', 'range' => 'weekly' // I also tried 'last7days' ); return wpp_get_mostpopular($args); } add_shortcode( 'most-viewed', 'most_viewed' );And still the same problem…
I have no idea, but I’ll wait to see if it was a cache issue…
I’ll back here if I figure out what is the problemThanks for your support!
- This reply was modified 5 years, 4 months ago by mathvp.
Viewing 1 replies (of 1 total)