Support » Plugin: WordPress Popular Posts » Post list position different in Dashboard stats

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Héctor Cabrera


    Hi @mathvp,

    first of all I wanna say thanks for this great plugin!
    It’s helping me a lot!

    Glad you like it!

    I’m getting different posts in my listing and in the stats at dashboard (…) You can see that some posts are ok, but the third one doesn’t.

    From your active plugins list as seen on the screenshots the only thing I can tell that might cause this kind of behaviors is the caching plugin (WP Fastest Cache). Is the Ajaxify Widget option enabled? (Settings > WordPress Popular Posts > Tools, under Data.)

    Thread Starter mathvp


    Hi Héctor, thanks for your quick response!
    No, this option is disabled:

    I 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 problem

    Thanks for your support!

    • This reply was modified 2 months, 3 weeks ago by mathvp.
    Plugin Author Héctor Cabrera


    Enable it (the Ajaxify widget option) then clear WPFC’s cache (that’s assuming you’re still using the widget, this won’t work with the PHP function nor the shortcode as these can’t be ajaxified via the plugin.)

    Plugin Author Héctor Cabrera


    Marking as resolved due to inactivity.

    OP if you still need a hand with this feel free to leave a comment below.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.