{"id":5473991,"date":"2014-11-12T14:33:58","date_gmt":"2014-11-12T14:33:58","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/shortcode-to-limit-to-a-specific-post-type\/"},"modified":"2016-08-22T12:30:33","modified_gmt":"2016-08-22T12:30:33","slug":"shortcode-to-limit-to-a-specific-post-type","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/shortcode-to-limit-to-a-specific-post-type\/","title":{"rendered":"Shortcode to limit to a specific post type"},"content":{"rendered":"<p>Great plugin. Unlike most others, this one actually works.<\/p>\n<p>I manually insert related posts into my theme using the shortcode as follows:<\/p>\n<p><code>do_shortcode(&#039;[crp limit=&quot;6&quot; heading=&quot;1&quot; cache=&quot;1&quot;]&#039;)<\/code><\/p>\n<p>I would like to limit the related posts to a specific post type. Is this possible?<\/p>\n<p>https:\/\/wordpress.org\/plugins\/contextual-related-posts\/<\/p>\n","protected":false},"template":"","class_list":["post-5473991","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5473991","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\/5473991\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5473991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}