{"id":6471353,"date":"2015-08-24T23:12:48","date_gmt":"2015-08-24T23:12:48","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/restrict-posts-from-appearing-in-widget\/"},"modified":"2016-08-30T17:11:52","modified_gmt":"2016-08-30T17:11:52","slug":"restrict-posts-from-appearing-in-widget","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/restrict-posts-from-appearing-in-widget\/","title":{"rendered":"Restrict posts from appearing in widget"},"content":{"rendered":"<p>I&#8217;m trying to restrict certain posts from appearing in widgets using an array of post IDs, and can&#8217;t quite figure out how to do it. I&#8217;ve read over https:\/\/keesiemeijer.wordpress.com\/related-posts-by-taxonomy\/filters\/, and I&#8217;m not even sure which .php file I need to be editing to add the array of restricted IDs. Which .php file do I need to set up the exclude in if I&#8217;m using thumbnails to display related posts?<\/p>\n<p>https:\/\/wordpress.org\/plugins\/related-posts-by-taxonomy\/<\/p>\n","protected":false},"template":"","class_list":["post-6471353","topic","type-topic","status-closed","hentry","topic-tag-array","topic-tag-filter","topic-tag-restrict"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6471353","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\/6471353\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6471353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}