Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi, I would also like to know the answer to this question.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hi guys,

    You’d have to hack the plugin to achieve that. Here’s what you need to do:

    1. In the plugin folder, find a file called stats.php and open it using a editor such as notepad or Adobe Dreamweaver.

    2. Find this:

    <div class="wpp-stats wpp-stats-active" id="wpp-daily">
        <?php echo do_shortcode('[wpp range=today stats_views=1 order_by=views wpp_start=<ol> wpp_end=</ol>]'); ?>
    </div>
    <div class="wpp-stats" id="wpp-weekly">
        <?php echo do_shortcode('[wpp range=weekly stats_views=1 order_by=views wpp_start=<ol> wpp_end=</ol>]'); ?>
    </div>
    <div class="wpp-stats" id="wpp-monthly">
        <?php echo do_shortcode('[wpp range=monthly stats_views=1 order_by=views wpp_start=<ol> wpp_end=</ol>]'); ?>
    </div>
    <div class="wpp-stats" id="wpp-all">
        <?php echo do_shortcode('[wpp range=all stats_views=1 order_by=views wpp_start=<ol> wpp_end=</ol>]'); ?>
    </div>

    … and replace with:

    <div class="wpp-stats wpp-stats-active" id="wpp-daily">
        <?php echo do_shortcode('[wpp range=today stats_views=1 order_by=views wpp_start=<ol> wpp_end=</ol> limit=20]'); ?>
    </div>
    <div class="wpp-stats" id="wpp-weekly">
        <?php echo do_shortcode('[wpp range=weekly stats_views=1 order_by=views wpp_start=<ol> wpp_end=</ol> limit=20]'); ?>
    </div>
    <div class="wpp-stats" id="wpp-monthly">
        <?php echo do_shortcode('[wpp range=monthly stats_views=1 order_by=views wpp_start=<ol> wpp_end=</ol> limit=20]'); ?>
    </div>
    <div class="wpp-stats" id="wpp-all">
        <?php echo do_shortcode('[wpp range=all stats_views=1 order_by=views wpp_start=<ol> wpp_end=</ol> limit=20]'); ?>
    </div>

    … where limit=20 is the max number of posts you want to see at the WPP Stats panel.

    Thanks for the fast reply. Love your plugin, it’s one of the best.

    desert_storm23

    (@desert_storm23)

    Hello!
    I need some help.
    I already installed the plug-in on my blog about 3 days ago, but until now I am only seeing the word “Sorry. No data so far.”, I also tried the short code and template code with no avail.
    I am using the Arras theme.
    Thanks in advance!

    RandyGarcia

    (@randygarcia)

    Howdy,

    i have the same Problem like User desert_storm23.

    It Shows: “Sorry, no data so far”

    cheers Randy

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hi guys,

    A bug on my plugin is preventing the creation of two tables used by it to track your blog’s data. I’m already working on a fix, it should be out soon.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WordPress Popular Posts] WordPress Popular Posts Stats panel’ is closed to new replies.