{"id":2283,"date":"2024-09-16T15:56:34","date_gmt":"2024-09-16T19:56:34","guid":{"rendered":"https:\/\/hdplugins.com\/?post_type=documentation&#038;p=2283"},"modified":"2026-01-26T12:46:30","modified_gmt":"2026-01-26T17:46:30","slug":"wordpress-custom-post-type-generator-tool","status":"publish","type":"documentation","link":"https:\/\/hdplugins.com\/learn\/web-development\/wordpress-custom-post-type-generator-tool\/","title":{"rendered":"WordPress Custom Post Type Generator Tool"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This is a very simple tool to make it very easy and <em>fast<\/em> to generate the WordPress code needed to create your own Custom Post Types (CPTs) using WordPress&#8217; <code>register_post_type()<\/code> function. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Unlike other tools, this one will attempt to autofill the labels for you based on the Singular and Plural names you enter. You can also use this tool to enable the Rest API\/Gutenberg for your Custom Post Types as well. Pretty cool!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to add Custom Post Types in WordPress<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Custom Post Types can be used with WordPress to accomplish many cool things, and I personally use them <em>all <\/em>the time. I use CPTs in HD Quiz for questions, HDForms for forms, and HDInvoice for invoices. Even this site uses CPTs a lot. Product, order, and support threads, were all built by using Custom Post Types!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a very simple tool to make it very easy and fast to generate the WordPress code needed to create your own Custom Post Types (CPTs). Unlike other tools, this one will attempt to autofill the labels for you based on the Singular and Plural names you enter.<\/p>\n","protected":false},"featured_media":2290,"comment_status":"open","ping_status":"closed","template":"","tags":[47,44],"documentation_category":[14,17,38],"class_list":["post-2283","documentation","type-documentation","status-publish","has-post-thumbnail","hentry","tag-tool","tag-wordpress","documentation_category-web-development","documentation_category-wordpress","documentation_category-wordpress-tools"],"_links":{"self":[{"href":"https:\/\/hdplugins.com\/hdapi\/wp\/v2\/documentation\/2283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hdplugins.com\/hdapi\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/hdplugins.com\/hdapi\/wp\/v2\/types\/documentation"}],"replies":[{"embeddable":true,"href":"https:\/\/hdplugins.com\/hdapi\/wp\/v2\/comments?post=2283"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hdplugins.com\/hdapi\/wp\/v2\/media\/2290"}],"wp:attachment":[{"href":"https:\/\/hdplugins.com\/hdapi\/wp\/v2\/media?parent=2283"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hdplugins.com\/hdapi\/wp\/v2\/tags?post=2283"},{"taxonomy":"documentation_category","embeddable":true,"href":"https:\/\/hdplugins.com\/hdapi\/wp\/v2\/documentation_category?post=2283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}