Video Description
Let's set up the query that will pull our most popular posts.
What's this series about?
This series will walk you through creating a basic Wordpress widget from scratch. The widget will loop through and grab posts based on view count. View count functionality was added to our theme in Part 20 of the Wordpress Theme Tutorial series. If you just want the functionality, you can download a plugin that I put together that uses the same method.
AwfulMedia's channel publishes web development video tutorials on HTML, CSS, WordPress, and more. Be sure to subscribe to AwfulMedia for more goodies!
View Count functionality tutorial:
http://www.youtube.com/watch?v=QRU3TU7Fm_ADownload the AM Post Views Plugin:
http://awfulmedia.com/downloads/plugins/am-post-views.rarWordpress Codex:
http://codex.wordpress.org/Widgets_APIGood resources for understanding PHP Classes:
PHP Manual:
http://php.net/manual/en/keyword.class.phpStackoverflow:
http://stackoverflow.com/questions/2206387/what-is-a-class-in-phpEdrackham:
http://edrackham.com/php/php-class-tutorial/---
Twitter:
http://www.twitter.com/AwfulMediaFacebook:
http://www.facebook.com/AwfulMediaWebsite:
http://www.awfulmedia.com/