using do_shortcode not working
-
I’m trying to use the in-line cofigurator on my homepage content but when I try including the following in the template it doesn’t work.
add_filter( ‘load_configurator_on_page’, ‘__return_true’ );
echo do_shortcode (‘[mkl_configurator product_id=”64″ ]’);However, if I put the shortcode in a block and then use the_content(); it does work.
Is there a way to get the php do_shortcode function to work?
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘using do_shortcode not working’ is closed to new replies.