Kursusindhold
Build a Code Free Website with WordPress
Build a Code Free Website with WordPress
Adding Contact Forms
Contact forms allow visitors to send you messages without needing to open their email app. They are essential for most websites—whether you're running a business, blog, or personal portfolio.
Why Contact Forms Are Important
Using a contact form protects your email address from spam, gives users a professional way to reach you, and lets you control what kind of information you collect—like name, subject, and message.
If you're using a Starter Template with the Astra theme, a contact form may already be included by default. These forms are built with a plugin called SureCart Forms (also known as SureForms), which came bundled with your design.
To customize this form:
- Go to SureCart → Forms in the WordPress dashboard;
- Click on the form that was automatically created (e.g., "Contact Form");
- From there, you can edit the form fields, change labels, and adjust the layout.
If you'd rather create a new form from scratch (or if your template didn't come with one), follow these steps:
- Go to SureForms → Forms and click Add New;
- Choose a layout or start from scratch;
- Drag and drop fields like:
- Name;
- Email;
- Message.
- Customize field labels, placeholders, and required settings;
- Click Publish to save the form.
Once your form is ready:
- Go to Pages → All Pages, then open the page where you want to insert the form;
- Click the + button to add a block;
- Search for SureForms and select it;
- Choose your form from the dropdown list;
- Update or publish the page.
Now your visitors can send messages directly through your site.
Tak for dine kommentarer!