{"id":16194348,"date":"2022-11-13T22:20:38","date_gmt":"2022-11-13T22:20:38","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/filter-posts-8\/"},"modified":"2022-11-13T22:20:38","modified_gmt":"2022-11-13T22:20:38","slug":"filter-posts-8","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/filter-posts-8\/","title":{"rendered":"Filter Posts"},"content":{"rendered":"<p>I would like to be able to only show posts that are assigned to a certain category. It&#8217;s quite a simple thing, but I can&#8217;t figure out how to do it. <\/p>\n<p>My client has a product list (none-commerce) and so I would need to list the products as posts, and place them within the product category. <\/p>\n","protected":false},"template":"","class_list":["post-16194348","topic","type-topic","status-publish","hentry","topic-tag-posts","topic-tag-product-lists","topic-tag-products"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16194348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16194348\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16194348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}