{"id":403,"date":"2019-03-06T10:58:22","date_gmt":"2019-03-06T10:58:22","guid":{"rendered":"https:\/\/rockythemes.com\/nimva3\/docs\/?p=403"},"modified":"2019-03-06T11:00:42","modified_gmt":"2019-03-06T11:00:42","slug":"display-posts-only-from-a-certain-category","status":"publish","type":"post","link":"https:\/\/rockythemes.com\/nimva3\/docs\/display-posts-only-from-a-certain-category\/","title":{"rendered":"Display Posts only from a certain Category"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When creating a Blog page using the Blog Page templates, we can also choose to display posts only from a certain category.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To do this, edit your current Blog page or create a new Blog page, set a Blog Template and then scroll down below the content area until the Advanced Customization box appears.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Under <strong>General Settings -> Posts Category<\/strong> choose the category you want to display posts from.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"622\" height=\"172\" src=\"https:\/\/rockythemes.com\/nimva3\/docs\/wp-content\/uploads\/2019\/03\/posts-category.jpg\" alt=\"\" class=\"wp-image-404\" srcset=\"https:\/\/rockythemes.com\/nimva3\/docs\/wp-content\/uploads\/2019\/03\/posts-category.jpg 622w, https:\/\/rockythemes.com\/nimva3\/docs\/wp-content\/uploads\/2019\/03\/posts-category-300x83.jpg 300w\" sizes=\"auto, (max-width: 622px) 100vw, 622px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Update the page and view your page in your browser.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Depending on the Blog Page Template being used, only posts from the selected category will be shown.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"960\" height=\"490\" src=\"https:\/\/rockythemes.com\/nimva3\/docs\/wp-content\/uploads\/2019\/03\/display-posts-category.jpg\" alt=\"\" class=\"wp-image-406\" srcset=\"https:\/\/rockythemes.com\/nimva3\/docs\/wp-content\/uploads\/2019\/03\/display-posts-category.jpg 960w, https:\/\/rockythemes.com\/nimva3\/docs\/wp-content\/uploads\/2019\/03\/display-posts-category-300x153.jpg 300w, https:\/\/rockythemes.com\/nimva3\/docs\/wp-content\/uploads\/2019\/03\/display-posts-category-768x392.jpg 768w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><figcaption><strong>Displaying posts only from the Development demo category<\/strong><\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Showing posts from a specific category using the Advanced Customization section.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-403","post","type-post","status-publish","format-standard","hentry","category-blog"],"_links":{"self":[{"href":"https:\/\/rockythemes.com\/nimva3\/docs\/wp-json\/wp\/v2\/posts\/403","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rockythemes.com\/nimva3\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rockythemes.com\/nimva3\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rockythemes.com\/nimva3\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rockythemes.com\/nimva3\/docs\/wp-json\/wp\/v2\/comments?post=403"}],"version-history":[{"count":3,"href":"https:\/\/rockythemes.com\/nimva3\/docs\/wp-json\/wp\/v2\/posts\/403\/revisions"}],"predecessor-version":[{"id":408,"href":"https:\/\/rockythemes.com\/nimva3\/docs\/wp-json\/wp\/v2\/posts\/403\/revisions\/408"}],"wp:attachment":[{"href":"https:\/\/rockythemes.com\/nimva3\/docs\/wp-json\/wp\/v2\/media?parent=403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rockythemes.com\/nimva3\/docs\/wp-json\/wp\/v2\/categories?post=403"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rockythemes.com\/nimva3\/docs\/wp-json\/wp\/v2\/tags?post=403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}