WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Pop! Popular Posts for WordPress

Displays in a Widget your most visited Posts. It also works with Pages, and Custom Post Types.

How it works?

The plugin saves the view data into the postmeta table in your WordPress database, under "pop_post_views" meta key.

I'm a theme designer or a plugin developer, how can I retrieve popular posts?

You can use the function "pop_get_popular_posts($num,$type,$order)", where $num is the number of posts you want (default: 5), $type is the post type (default: post), and $order can be "DESC" for a descendant list, or "ASC" for an ascendant list. This function returns an Array of WP_Post Objects, not a list.

With the WP_Post Objects, you can use the usual WordPress functions to retrieve information about the Post.

Can I set more than one Widget in my sidebar?

Of course you can. You can set one Widget for Posts, another one for Pages, and many as you want for Custom Post Types, for example.

Requires: 3.5 or higher
Compatible up to: 3.5.2
Last Updated: 2013-4-22
Downloads: 3,253

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
0,1,0
0,1,0