BeoHosting Tim
10+ godina iskustva — Stručnjaci za web hosting i infrastrukturu
- Hosting
- WordPress
- cPanel
- SEO
- Security
- Domains
Poslednje ažurirano:
Every WordPress site needs a contact form. This guide compares the three most popular plugins (Contact Form 7, WPForms, Gravity Forms), explains how to set up reCAPTCHA spam protection, configure SMTP so emails actually arrive, and embed the form on your site.
WordPress Contact Form
Pick a contact form plugin
WordPress has several great form plugins. Top three: Contact Form 7 (free, most popular with 5M+ active installs), WPForms Lite (free, drag-and-drop builder, beginner-friendly) and Gravity Forms (premium, advanced features for complex forms). For most sites we recommend WPForms Lite or Contact Form 7.
Install the plugin from the WordPress panel
Log into the WordPress admin (yoursite.com/wp-admin). Go to Plugins → Add New and search for the chosen plugin name. Click "Install Now", then "Activate". The plugin adds a new menu in the sidebar.
Create a new contact form
For WPForms: WPForms → Add New, pick "Simple Contact Form" template. For Contact Form 7: Contact → Add New, the default form is enough for most cases. Customize the form name and fields.
Configure form fields
Add the fields the form needs: text fields for name and surname, email field with validation, textarea for the message, dropdown for category, checkbox for privacy policy consent (mandatory for GDPR). Mark required fields with an asterisk (*) and add placeholder text.
Set up email notifications
Configure where submitted forms are sent. In plugin settings, enter the email address that should receive messages (typically info@yourdomain.com). Set the email subject (e.g. "New contact from yoursite.com"). Add a confirmation email to the visitor.
Enable spam protection (reCAPTCHA)
Sign up at google.com/recaptcha and create a new site. Pick reCAPTCHA v3 (invisible to visitors). Copy Site Key and Secret Key. In WordPress, go to form-plugin settings and enter both keys in the reCAPTCHA section. This blocks 99% of spam without bothering real visitors.
Test the form before publishing
Add the form to a page using shortcode or Gutenberg block. Open the page in the browser and submit test data. Check that the email arrives at the configured address, success messages display, validation works on required fields and reCAPTCHA blocks bot submissions. Also test on a mobile device.
Spremni da pokrenete svoj sajt?
Pridružite se 4.000+ zadovoljnih korisnika. Besplatna migracija i 15 dana garancije povrata novca.
FAQ
Odgovori na najčešća pitanja o našim uslugama.
Naše garancije za vaš mir
Zaštićeni ste sa svake strane
15 dana garancije
Vraćamo novac bez pitanja u prvih 15 dana.
Besplatna migracija
Mi prebacimo vaš sajt bez prekida — vi ništa ne radite.
24/7 podrška
Naši stručnjaci su tu 24/7 kroz tikete i live chat.