Forums

WordPress Popular Posts
rank popular posts by views without widget (2 posts)

  1. liquidRock
    Member
    Posted 4 months ago #

    I updated my blog/plug-ins and the theme had your plug-in hard coded in the sidebar from an older version. Since this was done without a widget, how can I make the plug-in display posts based on views since there are no settings anymore? The database still has everything intact it's just not displaying the same posts anymore and seems to be based on comment count.

    I tried to set the defaults in the plug-in PHP file to views but this had no effect.

    please advise.

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

  2. Héctor Cabrera
    Member
    Posted 4 months ago #

    Hi liquidRock,

    You can achieve this by passing the views parameter to the template tag, like this:

    if (function_exists('wpp_get_mostpopular()')) wpp_get_mostpopular('order_by=views&stats_views=1');

    Give that a try and let me know if you need further assistance with it.

Reply

You must log in to post.

About this Plugin

About this Topic