Wordpress 2.8+ Multi-Widgets
Thursday, January 14th, 2010In previous lesson we discussed how to create Wordpress multi-widget. In the version 2.8 Wordpress developers implemented new Widgets API that allows you to register widget in a few simple steps and it becomes multiple by default. We want to review these steps and to show how it works. But unfortunately this method works in Wordpress 2.8+ and is not compatible with earlier Wordpress versions.
First of all Wordpress coders implemented Class model for Widgets. In order to create a widget you need to create new class and extend it from default one. Basic syntax is the … read more