{"id":84686,"date":"2018-05-02T03:47:32","date_gmt":"2018-05-02T07:47:32","guid":{"rendered":"https:\/\/www.templatemonster.com\/help\/?p=84686"},"modified":"2018-05-02T03:47:32","modified_gmt":"2018-05-02T07:47:32","slug":"how-to-create-custom-post-types-in-wordpress","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/how-to-create-custom-post-types-in-wordpress.html","title":{"rendered":"How to create custom post types in WordPress"},"content":{"rendered":"<p>Hello, Our support team is ready to present you a new tutorial that shows how to create custom posts types in WordPress.<\/p>\r\n<p>Custom post types are content types in WordPress, just like posts and pages<\/p>\r\n<p>The easiest way to create a custom post type in WordPress is by using a plugin<\/p>\r\n<ol>\r\n<li><p>First, you need to install and activate the <a href=\"https:\/\/wordpress.org\/plugins\/custom-post-type-ui\/\" target=\"_blank\"> Custom Post Type UI plugin <\/a><\/p>\r\n\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2018\/05\/how_to_create_custom_posts_types_wordpress_1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2018\/05\/how_to_create_custom_posts_types_wordpress_1-300x172.png\" alt=\"\" width=\"300\" height=\"172\" class=\"aligncenter size-medium wp-image-84688\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/05\/how_to_create_custom_posts_types_wordpress_1-300x172.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/05\/how_to_create_custom_posts_types_wordpress_1-150x86.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/05\/how_to_create_custom_posts_types_wordpress_1.png 745w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n<\/li>\r\n<li><p>After activating a plugin, you will see a new menu item in your WordPress admin panel &#8211; <strong>CPT UI<\/strong><\/p><\/li>\r\n<li><p>Navigate to <strong>CPT UI > Add\/Edit post Types <\/strong> to create a new custom post type.<\/p><\/li>\r\n<li><p>Provide new post type title, label and click on the <strong>Add Post Type<\/strong> button to add your new custom post type. \r\nFeel free to also add additional information like description and configure other settings according to your needs<\/p>\r\n\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2018\/05\/how_to_create_custom_posts_types_wordpress_2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2018\/05\/how_to_create_custom_posts_types_wordpress_2-300x174.png\" alt=\"\" width=\"300\" height=\"174\" class=\"aligncenter size-medium wp-image-84689\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/05\/how_to_create_custom_posts_types_wordpress_2-300x174.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/05\/how_to_create_custom_posts_types_wordpress_2-150x87.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/05\/how_to_create_custom_posts_types_wordpress_2-768x444.png 768w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/05\/how_to_create_custom_posts_types_wordpress_2.png 925w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n<\/li>\r\n<li><p>The Custom Post Type UI plugin also allows you to create custom taxonomies<\/p><\/li>\r\n<li><p>You can navigate to <strong>CPT UI > Add\/Edit Taxonomies<\/strong> for creating a custom taxonomy. You will need to provide the taxonomy slug and labels , attach the taxonomy to one of the existing post types<\/p>\r\n\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2018\/05\/how_to_create_custom_posts_types_wordpress_3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2018\/05\/how_to_create_custom_posts_types_wordpress_3-300x232.png\" alt=\"\" width=\"300\" height=\"232\" class=\"aligncenter size-medium wp-image-84690\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/05\/how_to_create_custom_posts_types_wordpress_3-300x232.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/05\/how_to_create_custom_posts_types_wordpress_3-150x116.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/05\/how_to_create_custom_posts_types_wordpress_3-768x594.png 768w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/05\/how_to_create_custom_posts_types_wordpress_3.png 933w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n<\/li>\r\n<\/ol>\r\n\r\n<p>If you are looking to create a web resource from scratch, check out the collection of our premium <a href=\"https:\/\/www.templatemonster.com\/wordpress-themes.php\">WordPress themes<\/a> and pick the fitting layout for your website.<\/p>","protected":false},"excerpt":{"rendered":"<p>Our support team is ready to present you a new tutorial that shows how to create custom posts types in WordPress.<\/p>\n","protected":false},"author":56,"featured_media":84691,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2017,728],"tags":[796,789,592,1497],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/84686"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/56"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=84686"}],"version-history":[{"count":3,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/84686\/revisions"}],"predecessor-version":[{"id":84701,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/84686\/revisions\/84701"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/84691"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=84686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=84686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=84686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}