Make sure that the string in $short
variable is between square brakets, like [header]
. If it’s not stored that way, make the call like this echo do_shortcode('['.$short.']');
Make sure that the string in $short
variable is between square brakets, like [header]
. If it’s not stored that way, make the call like this echo do_shortcode('['.$short.']');