PostTypes v2.2.1
Last updated
Last updated
Simple WordPress custom post types.
PHP >=7.2
WordPress >=5.1
Run the following in your terminal to install PostTypes with Composer.
PostTypes uses PSR-4 autoloading and can be used with the Composer's autoloader. Below is a basic example of getting started, though your setup may be different depending on how you are using Composer.
See Composer's basic usage guide for details on working with Composer and autoloading.
Below is a basic example of setting up a simple book post type with a genre taxonomy. For more information, check out the online documentation here.
The full documentation can be found online at posttypes.jjgrainger.co.uk
The class has no methods for making custom fields for post types, use Advanced Custom Fields
The book's example used in the README.md can be found in examples/books.php
Licensed under the MIT License
Maintained under the Semantic Versioning Guide
Joe Grainger