{"id":4675608,"date":"2014-03-05T13:34:06","date_gmt":"2014-03-05T13:34:06","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/how-to-order-posts-in-category\/"},"modified":"2016-08-21T16:58:07","modified_gmt":"2016-08-21T16:58:07","slug":"how-to-order-posts-in-category","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/how-to-order-posts-in-category\/","title":{"rendered":"How to order posts in category"},"content":{"rendered":"<p>In my site I have custom post type and and custom taxonomy, I need to order the posts in category. I will explain with example assume that I have posts and categories listed below.<\/p>\n<ul>\n<li>Category 1<\/li>\n<li>\n<ul>\n<li>Product 1<\/li>\n<li>Product 2<\/li>\n<li>Product 3<\/li>\n<\/ul>\n<\/li>\n<li>Category 2<\/li>\n<li>\n<ul>\n<li>Product 1<\/li>\n<li>Product 2<\/li>\n<li>Product 4<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>I wish to order like listing below<\/p>\n<ul>\n<li>Category 1<\/li>\n<li>\n<ul>\n<li>Product 3<\/li>\n<li>Product 2<\/li>\n<li>Product 1<\/li>\n<\/ul>\n<\/li>\n<li>Category 2<\/li>\n<li>\n<ul>\n<li>Product 1<\/li>\n<li>Product 4<\/li>\n<li>Product 2<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>I would like to change order from back end. Is there any plugin or way available to do so?<\/p>\n","protected":false},"template":"","class_list":["post-4675608","topic","type-topic","status-closed","hentry","topic-tag-category","topic-tag-menu-order","topic-tag-post-order","topic-tag-post-sort"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4675608","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\/4675608\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4675608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}