Remove P tags from Contact Form 7 forms

I love Contact Form 7 and use it on 99% of my client and my own sites. It’s simple, lightweight and does a perfect job for mail. Depending on the form you use, you sometimes need to remove the <p> and <br> tags that appear in the form, which are auto-generated by the plugin. While … Continued

Adding a Contact Form 7 form into a PHP template in WordPress

Sometimes you may want to add a contact form 7 form into a template directly. While normal use is via a shortcode eg, you can’t use this directly inside a PHP page template. Instead, you need to wrap this inside the WordPress do_shortcode function, in order to enable it to parse correctly. Wrapping your form … Continued