{"id":57008,"date":"2016-01-15T13:13:24","date_gmt":"2016-01-15T13:13:24","guid":{"rendered":"https:\/\/br.wordpress.org\/support\/topic\/listagem-de-subcategorias\/"},"modified":"2016-08-06T01:43:58","modified_gmt":"2016-08-06T01:43:58","slug":"listagem-de-subcategorias","status":"publish","type":"topic","link":"https:\/\/br.wordpress.org\/support\/topic\/listagem-de-subcategorias\/","title":{"rendered":"Listagem de subcategorias"},"content":{"rendered":"<p>Tenho um archive com uma fun\u00e7\u00e3o para chamar 3 archive diferentes. 1 para a listagem do Blog, outro das subcategorias do Blog e um que puxa as outras listagens.<br \/>\nhttp:\/\/pastebin.com\/JnjLFQ0S<\/p>\n<p>archive-blog =&gt; est\u00e1 OK, puxa todos os post do Blog<br \/>\narchive-geral =&gt; est\u00e1 OK, puxa tudo que n\u00e3o \u00e9 categoria do Blog<\/p>\n<p>O meu problema est\u00e1 no archive-subcat. Hoje ele est\u00e1 escrito assim: http:\/\/pastebin.com\/w8eMn2fC<\/p>\n<p>Massssss&#8230; ele puxa todas as subcategorias. Eu gostaria que ele pegasse a subcategoria que eu estou. Se eu estiver na subcategoria Ambiente, aparecesse apenas os post de ambiente e assim por diante.<\/p>\n<p>Algu\u00e9m?<\/p>\n","protected":false},"template":"","class_list":["post-57008","topic","type-topic","status-publish","hentry","topic-tag-archive","topic-tag-subcategoria"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/57008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/57008\/revisions"}],"wp:attachment":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=57008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}