WordPress Developer Tips: Creating a Popular Posts Plugin

38m 27s – Advanced

This installment of WordPress Developer Tips offers a simple, code-based method for tracking and displaying popular posts. Staff author Morten Rand-Hendriksen will help you build a custom plugin to track the popularity of posts, based on views, and then create a widget to display a list of the five most popular posts on the front page, or on any other widgetized area, of your WordPress site. This feature will help visitors discover more content on your site, and help site owners understand what posts are trending.

Introduction – 1m 8s
Welcome – 1m 8s

1. Identifying Popular Posts by Count – 21m 43s
Counting views with Custom Fields – 3m 0s
Creating a plugin – 3m 46s
Creating a Popular Posts function – 10m 12s
Displaying view counts in the Admin panel – 4m 45s

2. Displaying Popular Posts on the Front End – 13m 49s
Creating a Popular Posts widget – 4m 58s
Displaying the five most popular posts – 8m 51s

Conclusion – 1m 47s
Exploring WordPress theme development with lynda.com – 1m 47s

Facebook Comments