Overview

PropertyValue
Block namecore/search
Variation namenewsletter
TriggerclassName contains is-style-newsletter
Registered byAegis framework (theme vendor)
TogglesAegis plugin Blocks → Newsletter

The theme does not register a separate aegis/newsletter block. Do not confuse this with:

When the plugin is inactive, the framework treats Newsletter as enabled.

The newsletter style is registered once in PHP (Newsletter::register_style()), not via BlockStyles. When Newsletter extras are off, newsletter-editor.js hides the variation and unregisters the style.

Feature Toggles

Enable extras at Aegis → Blocks → Newsletter. They are off on new installs. Existing sites keep previously implicit-on extras.

Enabling any Newsletter extra also turns the parent variation on (same prefix rule as other Blocks sections). There is no separate parent Newsletter toggle.

Signup vs decorative fields

A field is a signup when it has a submit button (the default inserter variation) or when it is no-button and the saved placeholder is empty or contains “email”.

Decorative skins (Pro contact hero First name / Last name / Phone) stay type="text", are not required, never show the success message, and do not dispatch aegis-newsletter-submit. They still have search action stripped so they do not run a site search.

Free plugin

ToggleWhat it does
Email ValidationOn signup fields, set type="email", autocomplete="email", and inputmode="email". Off: signup fields stay type="text". Signup fields are always required.
Success MessageAfter submit on a signup field, hide the field and show “Thanks for subscribing.” Off, and on decorative fields: no confirmation UI.
Custom PlaceholderHonor the Search block’s placeholder on the input. Off: show “Email address”. Signup vs decorative still uses the saved placeholder and button.

Pro does not add Newsletter extras. Aegis Pro’s contact hero pattern reuses is-style-newsletter as a visual input skin; keep Custom Placeholder on if those fields should keep First name / Last name text.

Usage

The Newsletter variation on the front end.

  1. Enable the Newsletter extras you need at Aegis → Blocks → Newsletter.
  2. In the editor, insert Newsletter (Search variation) or apply the Newsletter style to a Search block.
  3. Set placeholder and button text on the Search block (placeholder is used on the frontend only when Custom Placeholder is on).

The form does not POST to WordPress search. Submit is preventDefault. On signup fields the theme dispatches aegis-newsletter-submit with { email } so a plugin or snippet can send the address to a mailing list.

Rendering

Patterns

Next Steps