Archived topic
Custom Contact Form
2 replies · Started by Zad on May 11, 2018
Is there any way to create a custom contact form without having to use a plugin? I'm trying to get rid of as many plugins as possible to avoid compatibility issues.
Perhaps with some CSS code or a snippet via PHP?
Hi Zad,
This is a pretty good article on how to do just that
https://premium.wpmudev.org/blog/how-to-build-your-own-wordpress-contact-form-and-why/
Zad
Another way to skin the cat here is to use a plugin such as CF7 and then use an asset management plugin so that the script and css for CF7 only loads on your contact page and not on your other site pages (and importantly) not on your home page. The load speed of your site (when tested on GTMetrix or Pingdom) will therefore not be affected.
Kind Regards
Max