⚡ WordPress · Client-side · No data sent to server
Custom Post Type Generator
Fill in a few fields and get clean, ready-to-paste register_post_type() code for a WordPress custom post type, with a full label set, supports, REST, and rewrite options. Everything is generated in your browser.
Post type
Options
Supports
Copied
Where this goes. Paste into your theme's functions.php or a small plugin. The post type key must be 20 characters or fewer and is best kept lowercase with underscores. After adding it, visit Settings then Permalinks once to flush rewrite rules. Code is generated in your browser.