Support » Plugins » [Plugin: Contact Form 7] use fieldset – false p tags around

  • Hi Miyoshi
    I love your plugin because it is simple in the best meanings of this word.

    But I have a problem: If I’m using *fieldset* to create the form, there are p tags around the tags fieldset and this is false.

    Do you know how I can solve this?

    I know the same words as in the comment, but my knowledge about CSS is much better than my english 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • Monika, the <p> is produced by wpautop() function and Contact Form 7 applies it to form contents by default. You can control it with WPCF7_AUTOP constant. When the value of the constant is false, Contact Form 7 doesn’t apply wpautop().

    You can define the constant in your wp-config.php like this:

    define ( 'WPCF7_AUTOP', false );

    Thread Starter Monika

    (@monika)

    thats great- you made my day 🙂

    thanks a lot

    Monika

    Hi Miyoshi,

    Why not make this an admin setting? It’s a lot cleaner and simpler for non-technical users.

    Cheers,
    Gal

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Contact Form 7] use fieldset – false p tags around’ is closed to new replies.