{"id":18230338,"date":"2025-01-07T16:21:00","date_gmt":"2025-01-07T16:21:00","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/adding-posts-to-sidebar-via-category\/"},"modified":"2025-01-07T16:21:00","modified_gmt":"2025-01-07T16:21:00","slug":"adding-posts-to-sidebar-via-category","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/adding-posts-to-sidebar-via-category\/","title":{"rendered":"Adding posts to sidebar via category"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This may be hard to follow so bear with me. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I want to add a section to my sidebar that will display only posts (not pages) from a specific category. What I&#8217;m trying to do here it setup something like a little spot for something like tweets or whatever we&#8217;re calling them these days. <br \/><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have a category setup called &#8220;Singles&#8221; and whenever I create a post and put it in that category, I want it to show up in the sidebar. <br \/><br \/>Any ideas on an easy way to do that without having to forgo the category thing and just go into the sidebar every single time and change it? <br \/><br \/>Thanks a lot.<\/p>\n","protected":false},"template":"","class_list":["post-18230338","topic","type-topic","status-publish","hentry","topic-tag-categories","topic-tag-category","topic-tag-post","topic-tag-posts","topic-tag-sidebar"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18230338","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\/18230338\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18230338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}