1. Using WPP on posts & pages
Clone this wiki locally
Shortcodes are macro codes that allow users (that's you!) to insert bits of predefined functionalities into post content.
WordPress Popular Posts takes advantage of it so you can showcase a list of popular posts on, say, a Hall-of-Fame page where your visitors can gain direct access to your best contents.
By default -that is, without any parameters- the [wpp] shortcode lists the most viewed posts (up to 10) within the last 24 hours. You can change that behavior by using parameters that not only allow you to set a different Time Range but also even the default markup.
For example, this:
[wpp range="weekly" stats_views=1 order_by="views"]
... would output the most viewed posts from the last 7 days.
[wpp range="monthly" stats_comments=1 order_by="comments"]
... would output the most commented posts from the last 30 days.
For a complete list of parameters, check wp-admin > WordPress Popular Posts > Parameters.