Title: Doesn&#8217;t work with do_shortcode()
Last modified: January 28, 2025

---

# Doesn’t work with do_shortcode()

 *  Resolved [dingdang](https://wordpress.org/support/users/dingdang/)
 * (@dingdang)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/doesnt-work-with-do_shortcode/)
 * included in a theme like this:
   do_shortcode(‘[btsc id=387]’)is not processed 
   and instead “[btsc id=387]” is printed

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Support [Plugin Envision Support](https://wordpress.org/support/users/pluginenvisionsupport/)
 * (@pluginenvisionsupport)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/doesnt-work-with-do_shortcode/#post-18272814)
 * Hi,
 * Could you please share the page/post link where you run do_shortcode?
 * Thank you!
 *  Thread Starter [dingdang](https://wordpress.org/support/users/dingdang/)
 * (@dingdang)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/doesnt-work-with-do_shortcode/#post-18274195)
 * I do it in functions.php in a child theme, not sure what you want to show.. In
   that case the shortcode is not processed and is printed as is.
 *  Plugin Support [Plugin Envision Support](https://wordpress.org/support/users/pluginenvisionsupport/)
 * (@pluginenvisionsupport)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/doesnt-work-with-do_shortcode/#post-18276166)
 * Hi,
 * I mean in which page it will run?
 * Thank you!
 *  Thread Starter [dingdang](https://wordpress.org/support/users/dingdang/)
 * (@dingdang)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/doesnt-work-with-do_shortcode/#post-18276171)
 * Any page, my try was to put it in the header. Another plugin with the same functionality
   was working at the same point.
 *  Plugin Support [Plugin Envision Support](https://wordpress.org/support/users/pluginenvisionsupport/)
 * (@pluginenvisionsupport)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/doesnt-work-with-do_shortcode/#post-18279468)
 * Hi,
 * It’s a public place, if you don’t have any issues could you please share the 
   page link where its running?
   Thank you!
 *  Thread Starter [dingdang](https://wordpress.org/support/users/dingdang/)
 * (@dingdang)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/doesnt-work-with-do_shortcode/#post-18279638)
 * But you can test this with any theme, just put do_shortcode() somewhere in the
   header.php
 *  Plugin Support [Plugin Envision Support](https://wordpress.org/support/users/pluginenvisionsupport/)
 * (@pluginenvisionsupport)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/doesnt-work-with-do_shortcode/#post-18281957)
 * Hi,
 * We have checked. It’s working fine here. Only things that **do_shortcode** will
   not work if the **core/embed** block is used inside the shortcode content/post.
   
   Thank you!
 *  Thread Starter [dingdang](https://wordpress.org/support/users/dingdang/)
 * (@dingdang)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/doesnt-work-with-do_shortcode/#post-18282201)
 * OK I can confirm it works the problem was with the theme.
 *  Plugin Support [Plugin Envision Support](https://wordpress.org/support/users/pluginenvisionsupport/)
 * (@pluginenvisionsupport)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/doesnt-work-with-do_shortcode/#post-18282962)
 * Hi,
 * Glad to hear that your issue has been solved.
   Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Doesn’t work with do_shortcode()’ is closed to new replies.

 * ![](https://ps.w.org/blocks-to-shortcode/assets/icon-256x256.png?rev=3190267)
 * [Blocks to Shortcode - Use blocks everywhere: in page templates, Elementor, etc.](https://wordpress.org/plugins/blocks-to-shortcode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/blocks-to-shortcode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/blocks-to-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/blocks-to-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/blocks-to-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/blocks-to-shortcode/reviews/)

## Tags

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

 * 9 replies
 * 2 participants
 * Last reply from: [Plugin Envision Support](https://wordpress.org/support/users/pluginenvisionsupport/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/doesnt-work-with-do_shortcode/#post-18282962)
 * Status: resolved