WordPress Custom Post Type Generator
A UI to click through options and get the ready-to-paste register-post-type code block.
Generated Code
Usage: Copy this code and paste it into your theme's
functions.php file or
a custom plugin.
Features
- Visual interface to configure custom post types
- Support for all standard WordPress post type features
- Generates clean, ready-to-use PHP code
- Includes labels, supports, and advanced options
- One-click copy to clipboard
How to Use
- Enter a unique post type key (lowercase, no spaces)
- Provide singular and plural names for your post type
- Select which features your post type should support
- Configure additional options like archive pages and REST API
- Click "Generate Code" to create the PHP snippet
- Copy and paste the code into your theme's functions.php