Hi,
I'm trying to use shortcodes within template files using the do_shortcode WP function, but they are not really working. Can you please tell me what I'm doing wrong? I'm trying with the toggle shortcode, but no luck:
echo do_shortcode('[toggle_container keep_open="false"]');
echo do_shortcode('[toggle title="Filter lessons"]Filter lessons content goes here.[/toggle]');
echo do_shortcode('[/toggle_container]');
I tried escaping the quotation marks, but that didn't help.
Thanks!














