I'm having issues with extra P tags being inserted when creating forms

I am working on a form via Contact Form 7.  I'm manually inputting some HTML tags for formatting.  Before I close my DIV tags, empty P tags are currently being added.  You can see here: http://alviarmani.instaxmedia.com/form/

Below the picture, there is a caption.  Right under the caption, you can see empty P tags are being added.

These are the steps I've taken so far:
1.  I tried <?php remove_filter ('the_content', 'wpautop'); ?> in my functions.php
2.  I also tried setting define ( 'WPCF7_AUTOP', FALSE ); in my wp-config.php file
3.  I tried 1 & 2 above together, and separately.
4.  I also disabled every single plugin except Contact Form 7 to rule out some other plugin causing the issue.

Is there something else that deals with adding the P tags? I noticed when I did a search in the theme, there were a lot of functions that seemed to be related to wpautop.

Comments

  • Hi,

    there is nothing else that deals with p tags. This is one of the main reasons why we created Muffin Builder. Envato does not allow to remove auto p tags and that's why Muffin Builder is the best choice in this case.

    Thanks!
Sign In or Register to comment.