Contact Form Widget
-
Hi,
I want to include a ‘contact form’ widget in the footer section of my template, something which asks for the visitor’s Name, Email, and Message, and then sends the message to the WordPress admin account email address.Somethings to note: I’m on a free plan, so I think widgets are limited, but if anyone knows a work around this, it would be much appreciated.
IMPORTANT: NOT a pop-up form asking for subscription; a static form or entry fields at the bottom of the page (located in the footer widgets).
The blog I need help with is: (visible only to logged in users)
-
You can add a contact form to a widget using the shortcode:
https://en.support.wordpress.com/forms/contact-form/#how-to-add-a-contact-form-with-shortcodes
If you prefer not to add the shortcode manually, you can use the contact-form builder on a draft post or page, and then copy the resulting shortcode over into your widget.
Let me know how it goes.
-
Thanks Kathrynwp.
I’ve managed to copy-paste the shortcode into a text box widget, but for some weird reason, it ket placing my username and personal email in the boxes for ‘Name’ and ‘Email’, so I went back and changed them into just text boxes, which resolved the issue….
Now if I could just figure out how to increase the width of the widget without access to the CSS sheet or the div class…
-
it ket placing my username and personal email in the boxes for ‘Name’ and ‘Email’,
Some fields are pre-filled with your name and email if you’re logged in – no one else will see those, so not to worry!
I’ll see if there’s anything we can do about the width.
-
I’ll see if there’s anything we can do about the width.
Thanks so much!
If it’s not too much trouble, I was also wondering how can make it so that different pages have different footers?
I want 3 specific widgets for the footer of my front page, but not in any of the others.
So far either I have it on all of them or have it in none. -
-
I did some testing but unfortunately I couldn’t find a way to modify the form field widths without custom CSS.
-
-
- The topic ‘Contact Form Widget’ is closed to new replies.