WordPress as CMS – Content Types

By Sol in Lab

I’m currently working on the Content Types feature of my CMS plugin for WordPress. As previously discussed, I think this is an important feature for a CMS that is truly extensible and flexible enough to be used for any purpose.

At the moment, I’m working on determining the best way to define a Content Type and its options in the database. Some types of content will use data from wp_posts along with data from other tables (joins), while others will be totally separate, so it’s important that the definition format is robust enough to handle all sorts of types. From there, the next step is to implement that format so that I can easily (and efficiently) pull all data (including custom metadata from other tables) for a post (or group of posts).