The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Contact Form 7
Using shortcodes inside a form (1 post)

  1. johnny21a
    Posted 5 years ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic