Skip to content
Theme Foundation
Building tools for WordPress Developers
Themes
Docs
Tools
Blog
Contact
Custom Post Type Plugin Generator
September 13, 2013
Basic Settings
Post type
*
Post type slug. Maximum 20 characters. Must not contain capital letters or spaces.
Prefix
*
Function and variable names will be prefixed to prevent conflicts.
Public
True
False
Default visibility in admin.
Name (plural)
*
Plural name of the custom post type. Used for display in the admin.
Name (singular)
*
Singular name of the custom post type. Used for display in the admin.
Advanced options
Advanced settings
UI/visibility settings
Interaction/usage settings
Custom label settings
Plugin documentation settings
Advanced settings
Hierarchical
True (like pages)
False (like posts)
Supports
Title
Editor
Author
Thumbnail
Excerpt
Trackbacks
Custom fields
Comments
Revisions
Page attributes
Post formats
Taxonomies
Comma separated list of taxonomies to associate with this custom post type. Please note: this will not register the taxonomies for you. It simply associates previously registered taxonomies with this custom post type.
Rewrite
Default: true.
Query var
Meta box callback
Description
A short summary of what the post type is.
UI/Visibility
Show UI
True
False
Show in nav menu
True
False
Show in admin menu
True
False
Show in admin bar
True
False
Menu position
Below Posts (5)
Below Media (10)
Below Pages (20)
Below Comments (25)
"Other" (if used) must be a number.
Menu icon
Interaction/Usage
Exclude from search
True
False
Publicly queryable
True
False
Has archive
True
False
Can export
True
False
Plugin documentation settings
Plugin name
Plugin URI
Plugin description
Version
Author
Author URI
License
License URI
Text domain
Domain path
Custom Labels
Menu name
Admin menu text
All items
Submenu text. Default: "Name (plural)" value set earlier.
Add new
Submenu text. Default: "Add New"
Add new item
Default: Add New Post / Add New Page
Edit item
Default: Edit Post / Edit Page
New item
Default: New Post / New Page
View item
Default: View Post / View Page
Search items
Default: Search Posts / Search Pages
Not found
Default: No posts found / No pages found
Not found in trash
Default: No posts found in Trash/No pages found in Trash
Parent item colon
Only used if hierarchical is set to true. Default: Parent Page
Code Generation
How would you like your code?
I just want the code.
I want to download the code as a plugin.
Phone
This field is for validation purposes and should be left unchanged.