Best WordPress Widget Boilerplates

Written by Jean Galea
Written by Jean Galea

If you're developing with WordPress and not using a framework such as Genesis, you probably have some sort of code collection that you refer to when building new sites.

Partner Sponsors

BionicWP

Full disclosure: If you purchase through a link on our site, we may earn a commission. Learn more.

If you’re developing with WordPress and not using a framework such as Genesis, you probably have some sort of code collection that you refer to when building new sites.

We’ve mentioned the Underscores theme in the past few days, which is excellent when it comes to starting off with a base theme, and today we will look at another common feature in WordPress websites: widgets.

I’ve come across quite a number of excellent widget boilerplates that you can reuse for your own purposes, and am sharing the best of them here today:

Tom McFarlin’s WordPress Widget Boilerplate

Tom McFarlin is one of those developers whom you’d better be following if you want to become a top developer yourself. He’s been churning out article after article chock full of great tips for standards-compliant WordPress development techniques.

Here’s an excellent tutorial he wrote explaining how he builds his widgets, excellent stuff. The result of course is his Widget Boilerplate, which is handily available on Github.

Check out Tom’s Widget Boilerplate on Github

Have you used anything similar and would like us to list it here as well? Let us know in the comments section!

If you enjoyed this post, make sure to subscribe to WP Mayor’s RSS feed.

This article was filed in our archives.
Written by Jean Galea
Jean Galea is an investor, entrepreneur, and blogger. He is the founder of WP Mayor, the plugins WP RSS Aggregator and Spotlight, as well as the Mastermind.fm podcast. His personal blog can be found at jeangalea.com.

In this article

Discover More

Share Your Thoughts

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

New discoveries, every week.
Join thousands of designers, developers, and builders that come to WP Mayor to find the best guides, tools, and services for their next website. One email, once a week.
WP Mayor Newsletter

Claim Your Free Website Tip 👇

Leave your name, email and website URL below to receive one actionable improvement tip tailored just for your website within the next 24 hours.

"They identified areas for improvement that we had not previously considered." - Elliot

By providing your information, you'll also be subscribing to our weekly newsletter packed with exclusive content and insights. You can unsubscribe at any time with just one click.

What's missing?