How to create Widgets in WordPress 2.8

| May 27, 2009 | Leave a Comment

Justin Tadlock has a nice tutorial on the new way to create WordPress Widgets in WP 2.8. You might remember that in the upcoming version of WordPress the admin interface for Widgets has been revamped, but the method of developing Widgets has been updated as well.

In this tutorial, I’ll walk you through the steps of setting up a widget, its settings form, and displaying it on your site. At the end of the tutorial, you can download an example plugin to build from. Of course, you can apply this to your themes as well.

According to him, coding a widget is much easier this time because you just have to extend the WP_Widget class. The tutorial also gets into advanced widget controls and display settings.

Related Posts

Tags: , , ,

Leave a Reply