{"id":37288,"date":"2014-11-05T09:12:46","date_gmt":"2014-11-05T14:12:46","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=37288"},"modified":"2016-02-24T04:35:03","modified_gmt":"2016-02-24T09:35:03","slug":"wordpress-how-to-work-with-custom-posts","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/wordpress-how-to-work-with-custom-posts.html","title":{"rendered":"WordPress. How to work with custom posts"},"content":{"rendered":"<p>\r\n<\/p>\r\n<p>This tutorial will show you how to work with custom posts in WordPress.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=XJzSam7S0Kc?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to work with custom posts<\/a><\/p>\r\n<p>In case you would like to add <strong>Our team, FAQ, Testimonials <\/strong>and other posts to existing or new page\/post, the shortcode should be used. Let&#8217;s take Our Team section as an example.<\/p>\r\n<ol>\r\n<li>\r\n<p>Navigate to <strong>Dashboard&gt; Our Team&gt; Our Team<\/strong>. In your browser address bar you will see post_type: <strong>post_type=#####<\/strong> , where <strong>#####<\/strong> is a specific type of post. Copy it: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/09\/WP_how_to_work_with_custom_posts_1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/09\/WP_how_to_work_with_custom_posts_1-300x216.jpg\" alt=\"WP_how_to_work_with_custom_posts_1\" width=\"300\" height=\"216\" class=\"aligncenter size-medium wp-image-37289\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/WP_how_to_work_with_custom_posts_1-300x216.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/WP_how_to_work_with_custom_posts_1-150x108.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/WP_how_to_work_with_custom_posts_1.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Navigate to <strong>Posts\/Pages&gt; Add New<\/strong>. Using a <strong>Visual editor<\/strong> click <strong>Shortcode button &gt; Posts<\/strong>. Drop-down list with different post types will appear. Select the required one and you will get a form to fill in: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/09\/WP_how_to_work_with_custom_posts_2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/09\/WP_how_to_work_with_custom_posts_2-300x216.jpg\" alt=\"WP_how_to_work_with_custom_posts_2\" width=\"300\" height=\"216\" class=\"aligncenter size-medium wp-image-37291\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/WP_how_to_work_with_custom_posts_2-300x216.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/WP_how_to_work_with_custom_posts_2-150x108.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/WP_how_to_work_with_custom_posts_2.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Under <strong>&#8216;Type of Posts&#8217;<\/strong> you should paste a type of custom post <strong>(#####)<\/strong> that was copied from the browser address bar.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Fill in the form fields with the required settings (thumbnails size, order of posts, excerpts, meta, read more title and others). Then click <strong>&#8216;Insert&#8217;<\/strong> button. You will get a new shortcode generated. Publish your changes and view the page. You will see posts of the selected post type appearing:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/09\/WP_how_to_work_with_custom_posts_3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/09\/WP_how_to_work_with_custom_posts_3-300x216.jpg\" alt=\"WP_how_to_work_with_custom_posts_3\" width=\"300\" height=\"216\" class=\"aligncenter size-medium wp-image-37292\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/WP_how_to_work_with_custom_posts_3-300x216.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/WP_how_to_work_with_custom_posts_3-150x108.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/WP_how_to_work_with_custom_posts_3.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>In case the same content should be shown in other page\/post, <strong>copy the created shortcode and insert it to the required page\/post<\/strong>. <\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=XJzSam7S0Kc?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to work with custom posts<\/a>\r\n<\/p>\r\n<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to work with custom posts in WordPress.<\/p>\n","protected":false},"author":66,"featured_media":40039,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[789,592,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/37288"}],"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\/66"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=37288"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/37288\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/40039"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=37288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=37288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=37288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}