Building Your First Widget

June 15, 2014 by Josh

I spoke today at WordCamp Chicago, talking about building widgets. In my session we learned how to build your first WordPress widget and went step-by-step through the best practices for building a simple widget. We discussed when a widget should be built into a theme or plugin, and when a widget should be its own plugin. You canĀ check out the slides if you’d like to.

The plugin that I used as an example is a simple plugin that allows you to add your name to a sidebar.

my-name-is

The example code is up on Github for themes and plugins.

2193294-inigomontoya1

Hopefully everyone who attended is ready to avenge their fathers, or unleash their own widgets out into the world!

Links to this post
  1. The Bean, the Blues and a ton of WordPress info at WordCamp Chicago 2014 | InMotion Hosting News

Leave a Reply

Say something and add a Gravatar?