Do it in code! A guide to creating a custom site structure plugin in WordPress.

Many plugins exist for customizing site structure via the admin, which are great, but good developers know that functionality should live in code, and not in the database. We’ll look at the virtues of creating a custom plugin for your site structure, and explore some great tools to build your custom post types, taxonomy, metaboxes and more: – CMB2 – a developer’s toolkit for building metaboxes, custom fields, and forms – Advanced Custom Fields – export your ACF fields to code in PHP or JSON – GenerateWP – fill in a form, and spit out code – post types, taxonomy, metaboxes, shortcodes, and more! Once we’ve got it all in code, we’ll commit it to version control, and look at code hosting and collaboration with GitHub and BitBucket.