Title: Short code in  echo do_shortcode( not working
Last modified: August 20, 2016

---

# Short code in echo do_shortcode( not working

 *  [AWB Collier](https://wordpress.org/support/users/puddy127/)
 * (@puddy127)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/short-code-in-echo-do_shortcode-not-working/)
 * Hello,
 * I have been trying to get plugin shorcodes to work within my template instead
   of just in posts/pages. All my shortcodes work within a post or page.
 * As soon as I try to call the shortcode from a plugin through
 * `<php? echo do_shortcode('[]'); ?>`
 * Nothing loads. I have tried turning off all other plugins and tried it using 
   a number of different plugins. I think the problem is with the echo do_shortcode()
   in my site.
 * Can anyone shed and ideas what the problem might be?
 * I have also tried to load the shortcode by creating a page with it installed 
   in. Then referencing the content of that page in my template but can’t get that
   to work either.
 * Any help greatly appreciated.
 * I was originally trying to get the following plugin to work, but have since discovered
   that all plugin shortcodes wont work with the do_shortcode.
 * [http://wordpress.org/support/topic/add-fscf-to-website-but-on-a-php-page?replies=4#post-3680074](http://wordpress.org/support/topic/add-fscf-to-website-but-on-a-php-page?replies=4#post-3680074)

Viewing 1 replies (of 1 total)

 *  [zhwatts](https://wordpress.org/support/users/zhwatts/)
 * (@zhwatts)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/short-code-in-echo-do_shortcode-not-working/#post-3329570)
 * There’s a typo in your code. question mark should be before php at the beginning
   of the tag

Viewing 1 replies (of 1 total)

The topic ‘Short code in echo do_shortcode( not working’ is closed to new replies.

## Tags

 * [do_shortcode](https://wordpress.org/support/topic-tag/do_shortcode/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 1 reply
 * 2 participants
 * Last reply from: [zhwatts](https://wordpress.org/support/users/zhwatts/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/short-code-in-echo-do_shortcode-not-working/#post-3329570)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
