Title: Using do_shortcode()
Last modified: March 6, 2017

---

# Using do_shortcode()

 *  [arjn](https://wordpress.org/support/users/arjn/)
 * (@arjn)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/using-do_shortcode/)
 * Hi,
 * using the short code in each article works fine, but I’d rather use do_shortcode
   in a template, then we don’t have to insert the shortcode in every article.
 * This is what I have now in the article’s template, instead of <? the_content();?
   > I use:
 * <? echo do_shortcode( ‘[blendlebutton]’ . the_content() . ‘[/blendlebutton]’ );?
   >
 * It doesn’t do anything, the template still works, but it doesn’t show the Blendle
   Button?
 * Any idea why?
 * Arjen

The topic ‘Using do_shortcode()’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/blendle-button.svg)
 * [Blendle Button](https://wordpress.org/plugins/blendle-button/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/blendle-button/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/blendle-button/)
 * [Active Topics](https://wordpress.org/support/plugin/blendle-button/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/blendle-button/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/blendle-button/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [arjn](https://wordpress.org/support/users/arjn/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/using-do_shortcode/)
 * Status: not resolved