Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi there!

    1- i want to remove views count .. any advice ?

    • If you’re using the widget, simply untick the Display views option under Stats Tag settings.
    • If you’re using either the wpp_get_mostpopular() template tag or the [wpp] shortcode, you can use the stats_views parameter to do so (eg.: wpp_get_mostpopular( 'stats_views=0' );).

    2- the plugin some time govme old Popular Posts . and some time give me new posts .. how to make it show only new posts ?

    • If you’re using the widget, tick the Display only posts published within the selected Time Range option under Filters.
    • If you’re using either the wpp_get_mostpopular() template tag or the [wpp] shortcode, you can use the freshness parameter to do so (eg.: wpp_get_mostpopular( 'freshness=1' );).
    Thread Starter Raied F1

    (@raied-f1)

    thanks mate .. please i have this code in the single.php ..
    please i want you to do it for me ..

    <span class=”newsTabContentHeadline”><?php if (function_exists(‘wpp_get_mostpopular’)) wpp_get_mostpopular(“post_type=post&range=all”); ?></span>

    i dont know what should i do 🙁

    Thread Starter Raied F1

    (@raied-f1)

    <span class=”newsTabContentHeadline”><?php if (function_exists(‘wpp_get_mostpopular’)) wpp_get_mostpopular(“post_type=post&range=all”); ?></span>

    Plugin Author Hector Cabrera

    (@hcabrera)

    Simple:

    <span class=”newsTabContentHeadline”>
    <?php if (function_exists(‘wpp_get_mostpopular’)) wpp_get_mostpopular(“post_type=post&range=all&freshness=1”); ?>
    </span>

    Thread Starter Raied F1

    (@raied-f1)

    great its work .. now i have new posts..
    please how to remove the views count ?
    whene i add this code

    wpp_get_mostpopular( ‘stats_views=0’ );).

    nothing changed

    Plugin Author Hector Cabrera

    (@hcabrera)

    Try the following:

    <span class="newsTabContentHeadline">
    <?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular("post_type=post&range=all&freshness=1&stats_views=0"); ?>
    </span>
    Thread Starter Raied F1

    (@raied-f1)

    well its work but ..
    http://ims.sportsontheweb.net/ims/pic.php?u=1OTXwM&i=34

    you can see there is empty space under the posts ..
    also the ols posts still in the Beginning

    Plugin Author Hector Cabrera

    (@hcabrera)

    you can see there is empty space under the posts ..

    The empty space is created by your theme.

    also the ols posts still in the Beginning

    That’s because you set range to all, which tells WPP to get the most popular posts from all times. In that case, the parameter freshness is ignored.

    Thread Starter Raied F1

    (@raied-f1)

    how to fix the old posts
    please give me the code that give me only freshness posts ..
    and thank you for your help

    Plugin Author Hector Cabrera

    (@hcabrera)

    How about this:

    <span class="newsTabContentHeadline">
    <?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular("post_type=post&range=weekly&freshness=1&stats_views=0"); ?>
    </span>
Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘2 Question’ is closed to new replies.