• Resolved dingdang

    (@dingdang)


    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)
  • pluginenvisionsupport

    (@pluginenvisionsupport)

    Hi,

    Could you please share the page/post link where you run do_shortcode?

    Thank you!

    Thread Starter dingdang

    (@dingdang)

    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.

    pluginenvisionsupport

    (@pluginenvisionsupport)

    Hi,

    I mean in which page it will run?

    Thank you!

    Thread Starter dingdang

    (@dingdang)

    Any page, my try was to put it in the header. Another plugin with the same functionality was working at the same point.

    pluginenvisionsupport

    (@pluginenvisionsupport)

    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

    (@dingdang)

    But you can test this with any theme, just put do_shortcode() somewhere in the header.php

    pluginenvisionsupport

    (@pluginenvisionsupport)

    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

    (@dingdang)

    OK I can confirm it works the problem was with the theme.

    pluginenvisionsupport

    (@pluginenvisionsupport)

    Hi,

    Glad to hear that your issue has been solved.

    Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.