In this class, Topher demonstrates how to build a WordPress widget for a site you're working on.
Topher shows you how to create a widget which pulls in an external RSS feeds, parses the data, and show it on your WordPress site.
This class does require a good knowledge of PHP. So if you're new to PHP or need a refresher, I'd recommend watching our PHP for Beginners class.
An Introductory Video for the Build a WordPress Widget Class
Outline of the Build a WordPress Widget Class
- Basics of OOP in PHP
- Documenting Code
- The Widget Class
- The Data Fetcher Function
- The Data Render Function
- The Widget Function
- The Form Function
- The Update Function
- Register the Widget
How to Take the Build WordPress Widget Class
If you're already an OSTraining member, you can click here to take the Build a WordPress Widget class.