• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

My Monkey Do

A Log of Coding Solutions

  • Home
  • Web Hosts
  • Tools
  • About

Additional P tags in Contact Form 7

September 3, 2013 by Webhead

Problem

I noticed that I had paragraph (<p>) tags around some of my contact form 7 elements.  I tried adding this to the functions

define ( ‘WPCF7_AUTOP’, false );

but that still didn’t work.

Solution

It wasn’t another plugin like in an earlier problem with p tags, it was actually contact form 7 this time.  I had label html tags and apparently this caused p tags to be added around these label tags.  I replaced the label tags with div and the paragraph tags went away.

 

 

Filed Under: Coding Tagged With: wordpress

Primary Sidebar

Topics

apache apple block editor chrome cms css debug eCommerce embed firebug firefox git gmail goDaddy google hosting htaccess html html 5 IE crap image iPad iPhone javascript jquery linux localization macOS mac os x ms sql mysql open source optimize php php 7.2 rest api seo svg tinymce woocommerce wordpress wpengine xss yii youtube




Categories

  • Coding
  • Off the Shelf
  • Plugins
  • Random Thoughts
  • Server Stuff
  • Tools
  • Uncategorized