Title: How to include new published posts?
Last modified: August 22, 2016

---

# How to include new published posts?

 *  Resolved [sponker](https://wordpress.org/support/users/sponker/)
 * (@sponker)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/how-to-include-new-published-posts/)
 * Greetings all
 * First of all I would like to thank the developers for this awesome plugin which
   I use with great success.
    My concern though is that I currently can’t find an
   answer to how I can integrate new postings published on my site with the plugins
   functions. This is an important part of my site since I want visitors to post
   on my site and get recognized immediately. I know of plugins such as Recent Post
   etc., however these plugins does not sort by views or come with a nice rating
   feature.
 * Hope you can help me.
 * [https://wordpress.org/plugins/wordpress-popular-posts/](https://wordpress.org/plugins/wordpress-popular-posts/)

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

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/how-to-include-new-published-posts/#post-5844771)
 * Hi there!
 * Thank you for the kind words!
 * > My concern though is that I currently can’t find an answer to how I can integrate
   > new postings published on my site with the plugins functions. This is an important
   > part of my site since I want visitors to post on my site and get recognized
   > immediately.
 * Since you want to encourage visitors to contribute to the site, it is important
   to make sure that the most popular among your newest articles are highlighted
   on your site. Fortunately, WPP has the ability to filter posts by _freshness_–
   that is, to list only those entries published in the Time Range (last 24 hours/
   7 days / etc).
 * To do so:
    - If you’re using the widget, go to Widgets > WordPress Popular Posts and enable
      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 need the `freshness` parameter (for example: `wpp_get_mostpopular( 'range
      =weekly&freshness=1' );` will give you the most popular posts published during
      the last 7 days).
 * I’d also enable the _Display author_ option under _Stats Tag settings_ if you’re
   using the widget, or the `stats_author` parameter for the `wpp_get_mostpopular()`
   template tag / `[wpp]` shortcode. If they see their name up there, they’ll want
   to keep sharing their articles and writing new ones.
 *  Thread Starter [sponker](https://wordpress.org/support/users/sponker/)
 * (@sponker)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/how-to-include-new-published-posts/#post-5844785)
 * Thank you for responding to my support thread so quickly.
 * > Since you want to encourage visitors to contribute to the site, it is important
   > to make sure that the most popular among your newest articles are highlighted
   > on your site. Fortunately, WPP has the ability to filter posts by freshness–
   > that is, to list only those entries published in the Time Range (last 24 hours/
   > 7 days / etc).
 * Maybe I was not clear enough when I stated my concerns above. When my visitors(
   or myself) create a new post, the post itself has 0 views and are therefore not
   included with your plugin. Is there a way to include 0 views posts?
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/how-to-include-new-published-posts/#post-5844837)
 * Ah, that’s a completely different thing.
 * Unfortunately the answer is no, there’s no way to achieve that. Popularity is
   calculated on visits and comments count, it would make little sense to have WPP
   list entries that haven’t been visited / commented yet.
 * What you’re after is something more like a “Recommended posts” kind of thing,
   or maybe you could just use the _Recent Posts_ widget and use a title like “Just
   out of the oven!” or something similar to catch your visitors’ attention.
 * If I were you though, I’d do what I posted above: set _Time Range_ to “_Last 
   7 days_” and enable the “_Display only posts published within the selected Time
   Range_” option to make sure only popular entries published within the last 7 
   days are listed. That’d have contributors competing against each other to attract
   readers to their articles.
 * Just a suggestion 🙂

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

The topic ‘How to include new published posts?’ 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/)

## Tags

 * [new posts](https://wordpress.org/support/topic-tag/new-posts/)

 * 3 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/how-to-include-new-published-posts/#post-5844837)
 * Status: resolved