Can you help define [shortcode option1="value1" option2="value2"]
-
I’m trying to get my shortcode to work within my template and it has been suggested I use this code below.
<?php echo do_shortcode(‘[shortcode option1="value1" option2="value2"]‘); ?>
While I’m familiar with the do_shortcode(‘[shortcode]’), I am not sure I understand what to put in place for the option1=”value1″ and so on.
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Can you help define [shortcode option1="value1" option2="value2"]’ is closed to new replies.