Project Zero

Why add a plugin?

Project Zero used to just be a theme, but I added a boilerplate plugin in April 2023. There were two reasons for this:

  1. Some of the functionality I sought to add into version v0.3 of the theme were better placed in a plugin. Custom post types, for example, are better when added to a plugin, as they allow post types to move from one theme to another and don’t tie users into one theme. While it is possible to add custom post types to the theme (full disclosure: that’s what I’ve done with all of my themes, whoops!) it is good practice not to, so I’ve adhered to that here.
  2. I wanted to create a boilerplate plugin as part of the project, but didn’t know what to include that couldn’t be part of a theme. That was solved when I learned about custom post types (see above).
  3. As with my themes, having a starting point makes development easier, and I wanted to bring that ability to Project Zero.

The plugin, as with the theme, is released under version 3 of the GNU General Public License. You can download it or fork it from the plugin’s repo at github.com/cocodedesigns/pzero-plugin.

Join the conversation

Your email address will not be published.