{"id":5561448,"date":"2014-12-09T20:40:16","date_gmt":"2014-12-09T20:40:16","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/alx_related_posts-function\/"},"modified":"2016-08-22T13:22:12","modified_gmt":"2016-08-22T13:22:12","slug":"alx_related_posts-function","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/alx_related_posts-function\/","title":{"rendered":"alx_related_posts function"},"content":{"rendered":"<p>Hi &#8211; Thank you for this wonderful theme.<br \/>\nHow would I modify alx_related_posts function to exclude certain Categories from the related posts?  I use the related by Tag option to show posts related by Tag underneath a post.  I would like to exclude blog posts that match in 2 Categories from being shown.  How would I tweak the code to do that?<br \/>\nThank you.<\/p>\n","protected":false},"template":"","class_list":["post-5561448","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5561448","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\/5561448\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5561448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}