Support » Plugin: Contact Form 7 » [Plugin: Contact Form 7] Using shortcodes inside a form

  • johnny21a


    Hello, congratulations on your plugin, it is very useful. I have a question, I am using a template that uses shortcodes to style certain parts of the page, like pretty content boxes, tabs, etc…

    The problem is that I can’t use these shortcodes inside a form that I create with your plugin

    I am using the following syntax inside the form :

    <?php echo do_shortcode( ‘[box] CONTENT [/box]’ ); ?>

    but CONTENT doesn’t show up in the page. All parts of the form outside this function show up correctly. Is there any way I can use the template’s shortcodes inside the form ? I want it to look pretty that’s why I need to use them. Thank you…

  • The topic ‘[Plugin: Contact Form 7] Using shortcodes inside a form’ is closed to new replies.