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.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.