I’ve been using my own WordPress plugin and custom theme since around 2009 or so. During that time, I’ve blogged about WordPress and posted some example code now and then. I contemplated making my plugin available for public use but ultimately decided against it since I didn’t want to have to deal with support requests… Even still, I’ve learned a lot from reading other people’s code, so I always felt like I should open-source it so that other WordPress developers might be able to learn from it too.
You can now look at the code, download it or fork it on GitLab. This modular WordPress plugin and custom theme will mostly benefit developers looking for sample code. Everything is commented extensively.
Here’s a list of the modules that are included in that GitLab repository:
It’s no secret that having too many plugins can slow WordPress to a crawl, so by putting everything into a single modular plugin, it was not only much more efficient and quicker to load, it was also a lot easier for me to maintain. It’s like having many plugins in one but without having to repeat yourself with any duplicate code. And adding more functionality is as easy as dropping a PHP class into the classes/modules folder and it’ll autoload whenever you need it.
I hope this helps! I’m now in the process of creating my own serverless static generator on AWS so I likely won’t be blogging about WordPress much anymore…