When it comes to enhancing the functionality of the CMS, WordPress meta boxes are one of the most flexible features that we can introduce to the post editor screen.
In short, they’re a way that we can open additional fields to one, some, or all of the existing post types as well as custom post types. They also make it possible to introduce a number of different type of elements – be it input fields, textareas, checkboxes, etc. – so that users can easily view, add, and/or modify data associated with a given post.
When it comes to writing meta boxes, especially those that are more elaborate than others, it can become a bit of chore to maintain the code over time. But it doesn’t have to be that way.
WordPress Meta Boxes
As with anything software related, it’s generally easy to get something working but the challenge comes in writing something that’s logically organized and easy to maintain as the project develops.
And Creating Maintainable WordPress Meta Boxes seeks to explain a strategy for doing exactly that.
Throughout the series, we’re working through the process of brainstorming and planning a plugin through laying out the directory structure and implementing the functionality all in an organized, consistent, and maintainable way.
This page serves as a landing page for the entire season. Thus far, we’ve covered:
As the series continues, I’ll be updating this page and linking to the rest of the posts. Comments have been closed on this article so if you have a question related to a particular post, then please leave a comment on the respective article.