Lets Create a Basic Wordpress Widget - Part 2 @GameGrind
Lets Create a Basic Wordpress Widget - Part 2  @GameGrind
Uploaded May 2013 | Updated November 2026, 6 hours ago
Let's start filling out our widget class.

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:
youtube.com/watch?v=QRU3TU7Fm_A

Download the AM Post Views Plugin:
awfulmedia.com/downloads/plugins/am-post-views.rar

Wordpress Codex:
codex.wordpress.org/Widgets_API

Good resources for understanding PHP Classes:

PHP Manual:
php.net/manual/en/keyword.class.php

Stackoverflow:
stackoverflow.com/questions/2206387/what-is-a-class-in-php

Edrackham:
edrackham.com/php/php-class-tutorial

---

Twitter:
twitter.com/AwfulMedia

Facebook:
facebook.com/AwfulMedia

Website:
awfulmedia.com
Lets Create a Basic Wordpress Widget - Part 2Health and Damage  - Bolt Tutorial #8Responsive Wordpress Theme Tutorial - Part 28 - COMMENTS.PHPResponsive Wordpress Theme Tutorial - Part 1 - Create a Local Server and Install WordpressWordpress Widget Options Tutorial (Part 2)  - Understanding Widget APIMaking a Simple Game in Unity - Level Select - Unity C# Tutorial (Part 10)Unity C# Beginner Tutorial - Creating a Class and Variable (Part 02)Polymorphism - Intermediate C# CourseResponsive Embedded Youtube Video TutorialMaking a Simple Game in Unity (Part 1) - Unity C# TutorialWhat Do You Want? + Join me in Guild Wars 2Responsive Wordpress Theme Tutorial - Part 31 - COMMENT STYLES CONT.
GameGrind |

Let's Create a Basic Wordpress Widget - Part 2

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER