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?
- The topic ‘how to make do_shortcode to work inside index.php or any other page template?’ is closed to new replies.