Title: 2 Question
Last modified: August 22, 2016

---

# 2 Question

 *  Resolved [Raied F1](https://wordpress.org/support/users/raied-f1/)
 * (@raied-f1)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/2-question-1/)
 * Hello
    i have 2 Question 1- i want to remove views count .. any advice ?
 * 2- the plugin some time govme old Popular Posts . and some time give me new posts..
   how to make it show only new posts ?
    thanks
 * [https://wordpress.org/plugins/wordpress-popular-posts/](https://wordpress.org/plugins/wordpress-popular-posts/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/2-question-1/#post-5812733)
 * 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()](https://github.com/cabrerahector/wordpress-popular-posts/wiki/2.-Template-tags#wpp_get_mostpopular)
      template tag or the [[wpp] shortcode](https://github.com/cabrerahector/wordpress-popular-posts/wiki/1.-Using-WPP-on-posts-&-pages),
      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()](https://github.com/cabrerahector/wordpress-popular-posts/wiki/2.-Template-tags#wpp_get_mostpopular)
      template tag or the [[wpp] shortcode](https://github.com/cabrerahector/wordpress-popular-posts/wiki/1.-Using-WPP-on-posts-&-pages),
      you can use the `freshness` parameter to do so (eg.: `wpp_get_mostpopular('
      freshness=1' );`).
 *  Thread Starter [Raied F1](https://wordpress.org/support/users/raied-f1/)
 * (@raied-f1)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/2-question-1/#post-5812807)
 * 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](https://wordpress.org/support/users/raied-f1/)
 * (@raied-f1)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/2-question-1/#post-5812808)
 * > <span class=”newsTabContentHeadline”><?php if (function_exists(‘wpp_get_mostpopular’))
   > wpp_get_mostpopular(“post_type=post&range=all”); ?></span>
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/2-question-1/#post-5812813)
 * 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](https://wordpress.org/support/users/raied-f1/)
 * (@raied-f1)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/2-question-1/#post-5812816)
 * 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](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/2-question-1/#post-5812817)
 * 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](https://wordpress.org/support/users/raied-f1/)
 * (@raied-f1)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/2-question-1/#post-5812818)
 * well its work but ..
    [http://ims.sportsontheweb.net/ims/pic.php?u=1OTXwM&i=34](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](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/2-question-1/#post-5812826)
 * > 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](https://wordpress.org/support/users/raied-f1/)
 * (@raied-f1)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/2-question-1/#post-5812827)
 * 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](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/2-question-1/#post-5812886)
 * 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.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/2-question-1/#post-5812886)
 * Status: resolved