WordPress Custom Post Type Generator

A UI to click through options and get the ready-to-paste register-post-type code block.

Post Type Settings

Lowercase, no spaces, max 20 characters

Supports

Options

See Dashicons

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

  1. Enter a unique post type key (lowercase, no spaces)
  2. Provide singular and plural names for your post type
  3. Select which features your post type should support
  4. Configure additional options like archive pages and REST API
  5. Click "Generate Code" to create the PHP snippet
  6. Copy and paste the code into your theme's functions.php