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!

Update: Here is a video of my talk from WordCamp Chicago 2014:

Category:
Videos, WordPress
Tags:
, ,

Join the conversation! 1 Comment

  1. […] morning with breakfast in hand Josh Leuze (@jleuze) started off the day with a talk on “Building Your First Widget“. It was great presentation on how to get some simple widget interactivity into WordPress in […]

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>