OG Contact Form: a simple, fast contact form for your site

Jellybean, the OG Nexus mascot: OG Contact Form: a simple, fast contact form for your site

OG Contact Form is a free module built into OG AI Core from OG Nexus. It gives you a simple, fast contact form: exactly what you need, nothing more. Visitors fill in their name, email and message, and it lands in your inbox. This guide explains how it works under the hood, how its spam protection thinks, and the settings we would change first.

Add it anywhere

Use the Contact Form block in the block editor.

Or add the og-contact-form-block shortcode in Elementor, the classic editor or a widget area.

Set the button text, button colour and button text colour to match your site.

There is no separate plugin to install. If OG AI Core is active, the form is ready.

What happens when someone presses Send

It helps to know the steps, because that is where most contact form problems hide:

1

The form checks that the visitor's email address is valid.

2

It checks that the address receiving the message is valid too.

3

The spam checks run. If one fails, the message is not sent and the visitor sees a polite notice.

4

Your subject and message templates are filled in.

5

The email goes out through WordPress's own mail function.

6

The visitor sees your success message, or goes to your thank-you page.

The email carries a Reply-To header with the visitor's name and address. So when you press Reply, your answer goes straight to them, not back to your own site.

Step 5 matters most. The form uses wp_mail, the standard WordPress mail function. The wp_mail reference on developer.wordpress.org explains how it works. It also means any mail setup you already have applies here. If you use OG CoreMail, contact form emails go through your SMTP provider and can be checked in its email log.

Emails the way you want them

Choose who receives the messages.

Write your own subject and message, using placeholders such as *name*, *email*, *message* and *site*.

Switch on HTML emails, so your message can use tags, your logo and any styling you like.

If you leave the templates empty, the defaults are sensible. The subject reads "Message from" and the visitor's name, with your site name in front. The body lists the name, the email and the message. The subject is always kept to one plain line, even in HTML mode.

After sending

Show your own Success Message once the form is sent. The default reads "Your message was sent successfully. Thank you!" Or send the visitor to a page of your choice with a Redirect URL, such as a thank-you page.

Keeping spam out

Spam protection works in layers. Each one catches a different kind of bot:

Honeypot: a hidden "Website" field that real visitors never see. Bots fill in every field they find, so a filled-in Website field gives them away. The field is moved off-screen rather than hidden, because many bots skip fields that are obviously hidden.

Signed timestamp: each form carries a time stamp signed by your site. Bots that post straight to your site cannot make one up. A form sent less than 3 seconds after it loaded is rejected too, because people do not type that fast.

reCAPTCHA v3: add your Google keys and an invisible check runs in the background.

The timestamp has no maximum age on purpose. A cached page can serve the same form for days, and it should still work.

Extra fields

Add a Phone Field when you need a number to call back. Add a Consent checkbox with your own consent text. The visitor's answer is added to the email, so you can see it with the message.

How it is set up on og-nexus.com

The module is active on og-nexus.com, as part of OG AI Core. We have switched HTML emails on, and our reCAPTCHA keys are added. The honeypot and the signed timestamp are on by default, so they need no setup.

What we would do first on a new site

1

Send yourself a test message, and check it arrives in the inbox, not spam.

2

Set up proper SMTP sending if it lands in spam.

3

Write a subject line you will recognise at a glance.

4

Add a thank-you page with a Redirect URL, so you can track sent forms.

5

Add reCAPTCHA keys if spam still gets past the honeypot.

Where to find the settings

Contact Form is a free module of OG AI Core. Open OG AI Core in the WordPress menu and choose Conversations > Contact Form in the side rail. If it is missing, switch it on under System > Modules.

Contact Form module settings in OG AI Core

Contact Form settings in OG AI Core. The reCAPTCHA keys are hidden.

Set it up, step by step

1

Open OG AI Core > Conversations > Contact Form.

2

Write your Success Message, or enter a Redirect URL to send visitors to a thank-you page.

3

Switch on the Phone Field or Consent if you need them.

4

Keep Honeypot on. Add your Google reCAPTCHA v3 keys if you want extra protection.

5

Under E-mails, set the subject and the content of the email you receive.

6

Edit a page, add the contact form block, publish, and send yourself a test message.

Every setting explained

Success Message: shown to the visitor after the message was sent.

Redirect URL: where the visitor goes after sending. Empty means the success message is shown on the form.

Phone Field: adds a phone number field.

Consent: adds a required checkbox under the message for your privacy policy. The consent is recorded in the email you receive.

Honeypot: a field only bots see and fill in. If it is filled, the message is rejected. It loads nothing, so keep it on.

Google Captcha v3: your Public Key and Secret Key.

E-mails: Subject (empty uses the default), Content, and HTML, which lets your content use tags, your logo and styling.

Who it is for

Anyone running OG AI Core who wants a light, no-fuss contact form without adding another plugin. That includes small businesses, shops, bloggers and agencies building sites for clients.

Getting it

OG Contact Form is built into OG AI Core and is free to use. See the OG AI Core product page, or the whole OG plugin family.

Keep reading