WordPress.org

Support

Support » Themes and Templates » Insert a shortcode in my template do_shortcode not working

Insert a shortcode in my template do_shortcode not working

  • Hi,

    I want to insert a shortcode in my template (outside the loop), but it doesn’t work. All it does is echo the shortcode.

    Here is my code:
    echo do_shortcode('[my great shortcode]');

    You can see the result on http://www.peopleinside.fr
    I’ve read about similar problems on various blogs, but no answer…

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Insert a shortcode in my template do_shortcode not working’ is closed to new replies.