{"id":17390870,"date":"2024-02-01T14:38:02","date_gmt":"2024-02-01T14:38:02","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/template-category\/"},"modified":"2024-02-01T14:38:02","modified_gmt":"2024-02-01T14:38:02","slug":"template-category","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/template-category\/","title":{"rendered":"template category"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello, I&#8217;ve created a child theme. I would like to create a template for a post category like &#8220;news&#8221; (category ID 2). It should work with either the file category-news.php or category-2.php. Unfortunately, it&#8217;s not working. Can you please help? I&#8217;m not quite capable of figuring it out on my own, and I really love this parent theme. Thanks and greetings!<\/p>\n","protected":false},"template":"","class_list":["post-17390870","topic","type-topic","status-publish","hentry","topic-tag-category-template"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17390870","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\/17390870\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17390870"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}