{"id":4942,"date":"2022-02-13T21:44:01","date_gmt":"2022-02-13T21:44:01","guid":{"rendered":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/?p=4942"},"modified":"2024-03-23T08:04:00","modified_gmt":"2024-03-23T08:04:00","slug":"add-a-custom-post-type","status":"publish","type":"post","link":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/2022\/02\/13\/add-a-custom-post-type\/","title":{"rendered":"Add A Custom Post Type"},"content":{"rendered":"\n<p>Now, we have enough knowledge about <strong>Custom Post Types<\/strong> and want to create new one. You can create custom post type in following 2 ways: <strong>ACF<\/strong> and <strong>PTU<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>ACF (Advanced Custom Field)<\/strong><\/li>\n<\/ol>\n\n\n\n<p><strong>Step 1: <\/strong>Navigate to <code>Plugins<\/code> and Install <strong>Advanced Custom Field<\/strong> plugin.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"439\" src=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2024\/03\/acf-plugin-1024x439.png\" alt=\"\" class=\"wp-image-9643\" srcset=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2024\/03\/acf-plugin-1024x439.png 1024w, https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2024\/03\/acf-plugin-768x329.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Now you can see ACF item in the WordPress sidebar.<\/p>\n\n\n\n<p><strong>Step 2: <\/strong>Navigate to <code>ACF \/ Post Types<\/code> and start adding Custom Post Type<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"455\" src=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2024\/03\/acf-post-type-1024x455.png\" alt=\"\" class=\"wp-image-9649\" srcset=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2024\/03\/acf-post-type-1024x455.png 1024w, https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2024\/03\/acf-post-type-768x341.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 3: <\/strong>Input all required fields and set options as your demand.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"554\" src=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2024\/03\/acf-post-type-field-1024x554.png\" alt=\"\" class=\"wp-image-9652\" srcset=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2024\/03\/acf-post-type-field-1024x554.png 1024w, https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2024\/03\/acf-post-type-field-768x415.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>That&#8217;s it! You are ready to use your new custom post types. You can check new item in the WordPress Sidebar.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><\/li>\n\n\n\n<li><strong>PTU (Post Type Unlimited)<\/strong><\/li>\n<\/ol>\n\n\n\n<p><strong>Step 1: <\/strong>Navigate <code>Plugins<\/code> and Install <strong>Post Type Unlimited<\/strong> Plugin.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"440\" src=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2024\/03\/ptu-plugin-1024x440.png\" alt=\"\" class=\"wp-image-9659\" srcset=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2024\/03\/ptu-plugin-1024x440.png 1024w, https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2024\/03\/ptu-plugin-768x330.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 2: <\/strong>Navigate to <code>Post Types \/ Post Types<\/code> and start adding Custom Post Type<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"401\" src=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2024\/03\/ptu-post-type-1024x401.png\" alt=\"\" class=\"wp-image-9661\" srcset=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2024\/03\/ptu-post-type-1024x401.png 1024w, https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2024\/03\/ptu-post-type-768x301.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 3:&nbsp;<\/strong>Input all required fields and set options as your demand.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"443\" src=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2024\/03\/ptu-post-type-field-1024x443.png\" alt=\"\" class=\"wp-image-9665\" srcset=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2024\/03\/ptu-post-type-field-1024x443.png 1024w, https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2024\/03\/ptu-post-type-field-768x333.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>That\u2019s another way! You are ready to use your new custom post types and can see your new item in the WordPress Sidebar.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now, we have enough knowledge about Custom Post Types and want to create new one. You can create custom post type in following 2 ways: ACF and PTU Step 1: Navigate to Plugins and Install Advanced Custom Field plugin. Now you can see ACF item in the WordPress sidebar. Step 2: Navigate to ACF \/ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[36],"tags":[],"class_list":["post-4942","post","type-post","status-publish","format-standard","hentry","category-custom-post-types"],"_links":{"self":[{"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/posts\/4942","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/comments?post=4942"}],"version-history":[{"count":2,"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/posts\/4942\/revisions"}],"predecessor-version":[{"id":10019,"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/posts\/4942\/revisions\/10019"}],"wp:attachment":[{"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/media?parent=4942"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/categories?post=4942"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/tags?post=4942"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}