Lets Create a Basic Wordpress Widget - Part 1 @GameGrind
Lets Create a Basic Wordpress Widget - Part 1  @GameGrind
Uploaded May 2013 | Updated November 2026, 9 hours ago
In this part we create our comment head and start blocking out our custom 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 1Journal - Simple Achievement System for UnityWebsite Design Tutorial: Photoshop to HTML5 and CSS the Right Way - Part IIIKill Quest | Making a Simple RPG - Unity 2017Advanced Saving in Unity - Part 2Making a Simple Game in Unity - Level Select (Cont.) - Unity C# Tutorial (Part 11)Displaying Item Stats | Making a Simple RPG - Unity 5 Tutorial (Part 12)Website Design Tutorial: Photoshop to HTML5 and CSS the Right Way Part IIWebsite Design Tutorial: Photoshop to HTML5 and CSS the Right Way - Part IUpdate Video #2: Simple Templates - Barebone HTML and CSS TemplatesResponsive Website Design Tutorial - Navigation Menu to a Select Dropdown Menu for Small ScreensInventory System in Unity Tutorial (Part 3) - Unity3D C# Tutorial
GameGrind |

Let's Create a Basic Wordpress Widget - Part 1

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER