{"id":1018,"date":"2020-11-10T16:08:55","date_gmt":"2020-11-10T23:08:55","guid":{"rendered":"https:\/\/kadence-theme.com\/?post_type=knowledgebase&#038;p=1018"},"modified":"2025-11-02T22:48:06","modified_gmt":"2025-11-02T22:48:06","password":"","slug":"how-to-add-a-custom-post-type","status":"publish","type":"docs","link":"https:\/\/www.kadencewp.com\/help-center\/docs\/kadence-theme\/how-to-add-a-custom-post-type\/","title":{"rendered":"How to add a Custom Post Type"},"content":{"rendered":"\n<p>Custom Post Types are a great feature in WordPress for having entries that do not fall in the standard Posts and Pages buckets. For Example Portfolios, Projects, events, etc.<\/p>\n\n\n\n<p>A great method for registering a Custom Post Type is using the <a aria-label=\"Custom Post Type UI (opens in a new tab)\" href=\"https:\/\/wordpress.org\/plugins\/post-types-unlimited\/\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"rank-math-link\">Post Types Unlimited<\/a> plugin.<\/p>\n\n\n\n<p>To add a Custom Post Type, install and activate the above plugin. Then go to Post Types &gt; Add\/Edit Post Types.<\/p>\n\n\n\n<p>Fill in the name and labels fields.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/www.kadencewp.com\/kadence-theme\/wp-content\/uploads\/sites\/10\/2020\/11\/post_type-1024x895.jpg\" alt=\"\" class=\"wp-image-1019\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">Extra Settings<\/h2>\n\n\n\n<p>I suggest setting <strong>Has Archive<\/strong> to true. This will enable the archive (listing) page, where all your custom post type entries can be seen. Similar to a blog page.<\/p>\n\n\n\n<p>By default, this archive page will be present at https:\/\/yoursite.com\/&lt;Name of Post Type&gt;. Ex.: https:\/\/yoursite.com\/project. <\/p>\n\n\n\n<p>You may want to enter the plural term here so that the archive page URL will be https:\/\/yoursite.com\/projects (for example). You can do that by using the <strong>Custom Rewrite Slug<\/strong> setting.<\/p>\n\n\n\n<p>I also suggest enabling <strong>Show in Rest API (enables Gutenberg)<\/strong>.<\/p>\n\n\n\n<p>Save your new post type and start creating.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Theme Settings for Custom Post Type<\/h2>\n\n\n\n<p>You can determine how <span style=\"margin: 0px;padding: 0px\">your custom post type appears on your site by navigating to\u00a0<em>Appearance &gt; Customize &gt; Posts\/Pages Layout &gt; Custom Post Types<\/em>\u00a0and editing<\/span> the post type options.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>CPT_NAME<\/code> Layout<\/strong>: This section allows you to customize your CPT&#8217;s single post layout.<\/li>\n\n\n\n<li><strong><code>CPT_NAME<\/code> Archive: <\/strong>This section allows you to customize your CPT&#8217;s archive layout (if enabled).<\/li>\n<\/ul>\n\n\n<style>.kb-row-layout-id1018_166544-45 > .kt-row-column-wrap{align-content:start;}:where(.kb-row-layout-id1018_166544-45 > .kt-row-column-wrap) > .wp-block-kadence-column{justify-content:start;}.kb-row-layout-id1018_166544-45 > .kt-row-column-wrap{column-gap:var(--global-kb-gap-md, 2rem);row-gap:var(--global-kb-gap-md, 2rem);padding-top:var(--global-kb-spacing-sm, 1.5rem);padding-bottom:var(--global-kb-spacing-sm, 1.5rem);}.kb-row-layout-id1018_166544-45 > .kt-row-column-wrap > div:not(.added-for-specificity){grid-column:initial;}.kb-row-layout-id1018_166544-45 > .kt-row-column-wrap{grid-template-columns:repeat(3, minmax(0, 1fr));}.kb-row-layout-id1018_166544-45 > .kt-row-layout-overlay{opacity:0.30;}@media all and (max-width: 1024px){.kb-row-layout-id1018_166544-45 > .kt-row-column-wrap > div:not(.added-for-specificity){grid-column:initial;}}@media all and (max-width: 1024px){.kb-row-layout-id1018_166544-45 > .kt-row-column-wrap{grid-template-columns:repeat(3, minmax(0, 1fr));}}@media all and (max-width: 767px){.kb-row-layout-id1018_166544-45 > .kt-row-column-wrap > div:not(.added-for-specificity){grid-column:initial;}.kb-row-layout-id1018_166544-45 > .kt-row-column-wrap{grid-template-columns:minmax(0, 1fr);}}<\/style><div class=\"kb-row-layout-wrap kb-row-layout-id1018_166544-45 alignnone wp-block-kadence-rowlayout\"><div class=\"kt-row-column-wrap kt-has-3-columns kt-row-layout-equal kt-tab-layout-inherit kt-mobile-layout-row kt-row-valign-top\">\n<style>.kadence-column1018_f64a52-60 > .kt-inside-inner-col{border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;}.kadence-column1018_f64a52-60 > .kt-inside-inner-col,.kadence-column1018_f64a52-60 > .kt-inside-inner-col:before{border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;}.kadence-column1018_f64a52-60 > .kt-inside-inner-col{column-gap:var(--global-kb-gap-sm, 1rem);}.kadence-column1018_f64a52-60 > .kt-inside-inner-col{flex-direction:column;}.kadence-column1018_f64a52-60 > .kt-inside-inner-col > .aligncenter{width:100%;}.kadence-column1018_f64a52-60 > .kt-inside-inner-col:before{opacity:0.3;}.kadence-column1018_f64a52-60{position:relative;}@media all and (max-width: 1024px){.kadence-column1018_f64a52-60 > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}@media all and (max-width: 767px){.kadence-column1018_f64a52-60 > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}<\/style>\n<div class=\"wp-block-kadence-column kadence-column1018_f64a52-60 inner-column-1\"><div class=\"kt-inside-inner-col\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"317\" height=\"864\" src=\"https:\/\/www.kadencewp.com\/help-center\/wp-content\/uploads\/sites\/14\/2020\/11\/Zight-Recording-2025-11-03-at-06.41.58-AM.gif\" alt=\"\" class=\"wp-image-16040\" \/><\/figure>\n<\/div><\/div>\n\n\n<style>.kadence-column1018_2399e6-8c > .kt-inside-inner-col{border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;}.kadence-column1018_2399e6-8c > .kt-inside-inner-col,.kadence-column1018_2399e6-8c > .kt-inside-inner-col:before{border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;}.kadence-column1018_2399e6-8c > .kt-inside-inner-col{column-gap:var(--global-kb-gap-sm, 1rem);}.kadence-column1018_2399e6-8c > .kt-inside-inner-col{flex-direction:column;}.kadence-column1018_2399e6-8c > .kt-inside-inner-col > .aligncenter{width:100%;}.kadence-column1018_2399e6-8c > .kt-inside-inner-col:before{opacity:0.3;}.kadence-column1018_2399e6-8c{position:relative;}@media all and (max-width: 1024px){.kadence-column1018_2399e6-8c > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}@media all and (max-width: 767px){.kadence-column1018_2399e6-8c > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}<\/style>\n<div class=\"wp-block-kadence-column kadence-column1018_2399e6-8c inner-column-2\"><div class=\"kt-inside-inner-col\">\n<figure class=\"wp-block-embed is-type-photo is-provider-created-with-zight wp-block-embed-created-with-zight\"><div class=\"wp-block-embed__wrapper\">\n<a href=\"https:\/\/share.zight.com\/6qu49v72\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/p-d0FK22zG.t2.n0.cdn.zight.com\/items\/6qu49v72\/44e29807-b302-468f-97f1-0425d4a0ddac.jpg\" alt=\"Customize Home EN Karla 2025-11-03 at 6.47.43 AM\" width=\"623\" height=\"976\" \/><\/a>\n<\/div><\/figure>\n<\/div><\/div>\n\n\n<style>.kadence-column1018_baa797-bc > .kt-inside-inner-col{border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;}.kadence-column1018_baa797-bc > .kt-inside-inner-col,.kadence-column1018_baa797-bc > .kt-inside-inner-col:before{border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;}.kadence-column1018_baa797-bc > .kt-inside-inner-col{column-gap:var(--global-kb-gap-sm, 1rem);}.kadence-column1018_baa797-bc > .kt-inside-inner-col{flex-direction:column;}.kadence-column1018_baa797-bc > .kt-inside-inner-col > .aligncenter{width:100%;}.kadence-column1018_baa797-bc > .kt-inside-inner-col:before{opacity:0.3;}.kadence-column1018_baa797-bc{position:relative;}@media all and (max-width: 1024px){.kadence-column1018_baa797-bc > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}@media all and (max-width: 767px){.kadence-column1018_baa797-bc > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}<\/style>\n<div class=\"wp-block-kadence-column kadence-column1018_baa797-bc inner-column-3\"><div class=\"kt-inside-inner-col\">\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"352\" height=\"1024\" src=\"https:\/\/www.kadencewp.com\/help-center\/wp-content\/uploads\/sites\/14\/2020\/11\/Customize-Home-EN-Karla-2025-11-03-at-6.44.29-AM-352x1024.jpg\" alt=\"\" class=\"wp-image-16042\" style=\"width:247px;height:auto\" srcset=\"https:\/\/www.kadencewp.com\/help-center\/wp-content\/uploads\/sites\/14\/2020\/11\/Customize-Home-EN-Karla-2025-11-03-at-6.44.29-AM-352x1024.jpg 352w, https:\/\/www.kadencewp.com\/help-center\/wp-content\/uploads\/sites\/14\/2020\/11\/Customize-Home-EN-Karla-2025-11-03-at-6.44.29-AM-103x300.jpg 103w, https:\/\/www.kadencewp.com\/help-center\/wp-content\/uploads\/sites\/14\/2020\/11\/Customize-Home-EN-Karla-2025-11-03-at-6.44.29-AM-176x512.jpg 176w, https:\/\/www.kadencewp.com\/help-center\/wp-content\/uploads\/sites\/14\/2020\/11\/Customize-Home-EN-Karla-2025-11-03-at-6.44.29-AM.jpg 594w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><\/figure>\n<\/div><\/div>\n\n<\/div><\/div>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Custom Post Types are a great feature in WordPress for having entries that do not fall in the standard Posts and Pages buckets. For Example Portfolios, Projects, events, etc. A great method for registering a Custom Post Type is using the Post Types Unlimited plugin. To add a Custom Post Type, install and activate the&#8230;<\/p>\n","protected":false},"author":1265,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"doc_category":[394],"doc_tag":[],"knowledge_base":[6],"class_list":["post-1018","docs","type-docs","status-publish","hentry","doc_category-theme-general","knowledge_base-kadence-theme"],"year_month":"2026-04","word_count":253,"total_views":"7746","reactions":{"happy":"3","normal":"0","sad":"1"},"author_info":{"display_name":"Ben Ritner","author_link":"https:\/\/www.kadencewp.com\/help-center\/author\/britner\/"},"doc_category_info":[{"term_name":"General WordPress","term_url":"https:\/\/www.kadencewp.com\/help-center\/knowledge-base\/kadence-theme\/theme-general\/"}],"doc_tag_info":[],"knowledge_base_info":[{"term_name":"Kadence Theme","term_url":"https:\/\/www.kadencewp.com\/help-center\/knowledge-base\/kadence-theme\/","term_slug":"kadence-theme"}],"knowledge_base_slug":["kadence-theme"],"taxonomy_info":{"doc_category":[{"value":394,"label":"General WordPress"}],"knowledge_base":[{"value":6,"label":"Kadence Theme"}]},"featured_image_src_large":false,"comment_info":0,"_links":{"self":[{"href":"https:\/\/www.kadencewp.com\/help-center\/wp-json\/wp\/v2\/docs\/1018","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kadencewp.com\/help-center\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.kadencewp.com\/help-center\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.kadencewp.com\/help-center\/wp-json\/wp\/v2\/users\/1265"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kadencewp.com\/help-center\/wp-json\/wp\/v2\/comments?post=1018"}],"version-history":[{"count":3,"href":"https:\/\/www.kadencewp.com\/help-center\/wp-json\/wp\/v2\/docs\/1018\/revisions"}],"predecessor-version":[{"id":16045,"href":"https:\/\/www.kadencewp.com\/help-center\/wp-json\/wp\/v2\/docs\/1018\/revisions\/16045"}],"wp:attachment":[{"href":"https:\/\/www.kadencewp.com\/help-center\/wp-json\/wp\/v2\/media?parent=1018"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.kadencewp.com\/help-center\/wp-json\/wp\/v2\/doc_category?post=1018"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.kadencewp.com\/help-center\/wp-json\/wp\/v2\/doc_tag?post=1018"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/www.kadencewp.com\/help-center\/wp-json\/wp\/v2\/knowledge_base?post=1018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}