The other day, I shared how to add your WordPress plugin to Packagist. In the post, I mention that I did this with a recent project though I didn’t go into any detail about it. In short, the purpose of the plugin is to make it easy to add featured mobile images to WordPress.
For those who are familiar with CMB2, then you know it’s often used as a way (if not the way) for many developers to incorporate custom meta boxes into WordPress. And for the requirements on a project, I needed to introduce the ability to have a mobile featured imaged.
So to gain experience with creating a CMB2-based plugin and to learn how to use Packagist, I thought I’d use the project as an opportunity to do both.
These are two topics that, even though we can’t often use some of the native features of PHP7+ in our work, I think that many of us should be using in our plugin development.
Sometimes though, I think the problem is that developers lack the time, resources, or experience to know where to start understanding autoloaders let alone write their own.
And I want to fix that.
For some time now, I’ve been using a very simple autoloader in my projects. It’s served me well, but I think it could it be more powerful and I think it’s something that others could easily use in their projects, too.
So I’ve started a repository that offers a simple autoloader for WordPress. No, it’s not for WordPress core nor is it meant to be used with themes, but it’s for those who want to begin using autoloading in their WordPress plugins and similar projects.
A little over a year ago, I launched my first membership site which I called The First Version.
The idea behind the name wasn’t anything clever – it was the first time I’d tried something like this, it was the first version of the site, so the name was something that was quick and easy to register and set up.
Then, for the second iteration of the site, I called it Start Here under the idea of answering the question “where do I start with WordPress?”
Anyone who has jumped into WordPress and begun to develop (or begun to try to develop) themes, plugins, applications, or any other type of solution for others knows that it can be difficult to know where to start.
Rather than offering another closed membership site, I’m going to be publishing an eBook called Start Here which still aims to answer “where do I start with WordPress” but does so in an easier and cheaper format.
Last week, I shared some thoughts on my desire to do a better job of sharing personal projects – regardless of how big or how small – on GitHub. I’ve used to do a better job of it, and I’ve since gotten out of it. (And this lead to some comments, some of which aren’t approved yet, which I still need to find some time to sit and respond.)
And I want to get back into the habit of it.
But in following up with what I said I’d do, I pushed up 0.1.0 of the first project in an attempt to follow-through on what I said I’d do starting with a small project that allows us to toggle WordPress admin notices.
Three years ago, I published a small plugin both on GitHub and in the plugin repository that made it possible view WordPress page templates in the admin.
I called it Page Template Dashboard – naming things isn’t easy, and even when you do, it’s obviously not great – but WordPress has changed a lot in three years.
In three years, a lot can change in your personal life too, and this makes it hard to work on personal projects. But when you can steal a few hours – usually late at night – it makes it possible to revisit and update projects like this.
So last night, I release the latest version of Page Template Dashboard.