how to make do_shortcode to work inside index.php or any other page template?
-
Hi,
I’m using a one page layout for my wordpress site and have in my index.php this code:
<?php echo do_shortcode(“[Form id=’9′]”); ?>But the thing only outputs the text = Form id=’9′
How will i output the actual form using the do_shortcode in my index.php file?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘how to make do_shortcode to work inside index.php or any other page template?’ is closed to new replies.