{"id":8878337,"date":"2017-03-06T09:53:31","date_gmt":"2017-03-06T09:53:31","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/using-do_shortcode\/"},"modified":"2017-03-06T09:53:31","modified_gmt":"2017-03-06T09:53:31","slug":"using-do_shortcode","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/using-do_shortcode\/","title":{"rendered":"Using do_shortcode()"},"content":{"rendered":"<p>Hi,<\/p>\n<p>using the short code in each article works fine, but I&#8217;d rather use do_shortcode in a template, then we don&#8217;t have to insert the shortcode in every article.<\/p>\n<p>This is what I have now in the article&#8217;s template, instead of  &lt;? the_content(); ?&gt; I use:<\/p>\n<p>&lt;? echo do_shortcode( &#8216;[blendlebutton]&#8217; . the_content() . &#8216;[\/blendlebutton]&#8217; ); ?&gt;<\/p>\n<p>It doesn&#8217;t do anything, the template still works, but it doesn&#8217;t show the Blendle Button?<\/p>\n<p>Any idea why?<\/p>\n<p>Arjen<\/p>\n","protected":false},"template":"","class_list":["post-8878337","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8878337","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\/8878337\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8878337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}