# Block Variations (Plugin Toggles)

> Block variations (Accordion List, Counter, Marquee, Newsletter, etc.) are implemented by the Aegis framework (vendor/aegis/framework) and gated by plugin feature toggles at Aegis → Blocks.

## How Toggles Work

![Aegis → Blocks with the block variation toggles listed, some switched on and some off.](https://www.atmostfear-entertainment.com/wp-content/uploads/2026/11/blocks-variation-toggles.png)

*Each variation can be turned on or off.*

1. The framework registers variations when a parent feature key is enabled in plugin settings.
2. `ServiceProvider::is_block_enabled()` reads `aegis_blocks` options.
3. When the plugin is inactive, framework defaults treat features as enabled.
4. Accordion (`core/list`), Newsletter (`core/search`), and SVG (`core/image`) styles are registered once in PHP (`register_style()`), not also via `BlockStyles`. The SVG inspector is `svg-editor.js` (no Optimize SVG / SVGOMG control).

## Available Variations

| Variation | Base Block | Toggle key |
| --- | --- | --- |
| Accordion List | `core/list` | `accordion` |
| Counter | `core/paragraph` | `counter` |
| Curved Text | `core/paragraph` | (framework) |
| Grid | `core/group` | (framework) |
| Marquee | `core/group` | `marquee` |
| Newsletter | `core/search` | `newsletter` |
| SVG | `core/image` | `svg` (`is-style-svg`). Extras: paste markup, mask, onclick, inline-in-text, inline `.svg` files. Not the Icon block — see [Theme SVG](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/block-variations/#svg). |

See [Newsletter](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/newsletter/) for Email Validation, Success Message, and Custom Placeholder extras.

> [!NOTE]
> **Related Posts vs Query Loop.** The theme’s **`aegis/related-posts`** block is a separate custom block (**Aegis → Blocks → Related Posts**). Query Loop extras apply only to **`core/query`**. Pro can add a related-posts *query mode* on Query Loop (`aegisProRelatedPosts`); that is not a block variation and is not the Related Posts block.

See [Query Loop](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/query-loop/) for the full Query Loop extra list.

See [Theme Block Variations](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/block-variations/) for usage and editor behavior.

## Sub-Features

Each parent block has many sub-feature toggles (~150 total). Examples:

- **Icon (`core/icon`):** Core Icon library collections, custom SVG, gallery, gradients — [Theme SVG Icons](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/svg-icons/)
- **Lightbox (`core/image`):** grouped navigation, zoom, thumbnails, swipe — [Theme Lightbox](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/lightbox/)
- **Query Loop (`core/query`):** post types, taxonomy, include/exclude, meta, layout, no results, Field Picker, Product Query — [Query Loop](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/query-loop/). Query Loop **Performance** gating is at [Aegis → Performance](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/performance/)
- **Related Posts (`aegis/related-posts`):** Related By, Order By, Fallback, Style Variants, Excerpt Length, Image Aspect Ratio — [Theme Related Posts](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/related-posts/). Not Query Loop’s `aegisProRelatedPosts` mode.
- **Slider (`aegis/slider`):** Fade, Navigation, Pagination, Loop, Keyboard, Responsive, Autoplay — [Theme Slider](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/slider/). Default **Slides Per Page** is 1 (saved blocks keep their stored value). Pro: thumbnails, lightbox, mousewheel, aspect ratio, lazy load, arrow/dot styles.
- **Map (`aegis/map`):** Google Maps style presets (including the Static Maps facade), controls, and Pro extras; OpenStreetMap fallback; Shared markers and schema — [Map](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/map/)
- **Marquee (`core/group`):** pause on hover, direction, loop duration, repeat clones; Pro: responsive desktop duration from 782px — [Marquee](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/marquee/)
- **Newsletter (`core/search`):** email validation, success message, custom placeholder; signup vs decorative fields — [Newsletter](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/newsletter/)
- **SVG (`core/image`):** Paste Markup, Mask Mode, Onclick, Inline SVG in text, Inline SVG files — [Theme SVG](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/block-variations/#svg). Empty SVG shows the Aegis placeholder (preview-only) until markup is pasted in **SVG Settings**. No Optimize SVG control. Not the Icon block.
- **Video (`core/video`):** The video settings are in the **Aegis Video** add-on (**Aegis → Video → Settings**). The Dashboard shows an **Aegis Video** card to install or activate it. Without Aegis Video, Video blocks use the browser player and these extras are off. Free: Custom Player, Player styles, Theater Mode and Keyboard Shortcuts (require Custom Player), Schema Markup; Pro: ambient light, thumbnail preview, touch gestures, playlists, sticky player, focus mode, save progress, chapters, email capture (includes CTA overlays / action bar / YouTube subscribe in the same module; Mailchimp/ConvertKit subscribe only), analytics, multi-audio, privacy, video sitemap (SEO plugin adapters). There is no parent Video toggle — each extra is independent. Muted autoplay is per-block when any Engagement extra is on. BunnyCDN is **Aegis → Connectors → BunnyCDN**. LearnDash, LifterLMS, and FluentCRM inspector panels follow **Aegis → Integrations** (LMS / CRM), not Blocks extras.
- **Countdown (`aegis/countdown`):** segments, labels, separator, layout, expiry message, timezone, Schema.org Event; Pro: evergreen, animations, auto-restart, expiry actions, urgency — [Theme Countdown](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/countdown/)
- **Toggle (`aegis/toggle`):** pill, switch, and button switcher styles (light/dark via body and button tokens); alignment; custom labels; Pro: URL sync, persist, click animations (fade/slide/flip/scale), nested switchers, conditional visibility — [Theme Toggle](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/toggle/). Not an accordion.

Pro-gated toggles display a Pro badge in the Blocks admin UI.

## Next Steps

- [Custom Blocks](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/custom-blocks/) — Map and Modal blocks
- [Marquee](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/marquee/) — Group Marquee variation
- [Newsletter](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/newsletter/) — Search Newsletter variation
- [Query Loop](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/query-loop/) — Query Loop extras
- [Theme Slider](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/slider/) — `aegis/slider` extras
- [Theme Related Posts](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/related-posts/) — `aegis/related-posts` extras
- [Theme Countdown](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/countdown/) — `aegis/countdown` extras
- [Theme Toggle](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/toggle/) — `aegis/toggle` extras
- [Theme SVG](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/block-variations/#svg) — `core/image` SVG variation extras
- [Theme Block Variations](https://www.atmostfear-entertainment.com/docs/aegis/themes/theme/block-variations/) — Usage guide
- [Pro Block Extensions](https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/)

---

Source: https://www.atmostfear-entertainment.com/docs/aegis/plugins/dash/block-variations/ · Updated 2026-11-22
