Site logo

Archived topic

Is It possible to make contact us page with Elements? I hate plugins..

3 replies · Started by Derek on June 5, 2022

Viewing posts 1–4 of 4

I have recently set up a hook page inside of elements for Google Analytics and I'm curious is it possible to create a simple contact us form using the same or similar process. I hate plugins as they slow down the site. Any help appreciated! Thanks.

Hi Derek,

It’s possible, but Contact forms are more complicated.

For instance, see this article: https://daext.com/blog/create-a-contact-form-in-wordpress-without-a-plugin/

The PHP part, you can add through Code Snippets.

The JS part, you can add through a Hook Element hooked to wp_footer.

The CSS can be added in Appearance > Customize > Additional CSS.

Then, in this sample, a shortcode can be use to make the contact form appear.

I haven’t test this code though. It’s just a sample of what it would be like to create a contact form. It would be best to research deeper to make sure that the form is secure and working.

Hope this clarifies!

Thank you. Might be over my head. Thanks for getting back to me!

You’re welcome Derek!

This archived topic is closed to new replies.