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.

Updated 4 min read Atmostfear Entertainment

How Toggles Work

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.

See 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 for the full Query Loop extra list.

See 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
  • Lightbox (core/image): grouped navigation, zoom, thumbnails, swipe — Theme Lightbox
  • Query Loop (core/query): post types, taxonomy, include/exclude, meta, layout, no results, Field Picker, Product Query — Query Loop. Query Loop Performance gating is at Aegis → Performance
  • Related Posts (aegis/related-posts): Related By, Order By, Fallback, Style Variants, Excerpt Length, Image Aspect Ratio — Theme Related Posts. Not Query Loop’s aegisProRelatedPosts mode.
  • Slider (aegis/slider): Fade, Navigation, Pagination, Loop, Keyboard, Responsive, Autoplay — Theme 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
  • Marquee (core/group): pause on hover, direction, loop duration, repeat clones; Pro: responsive desktop duration from 782px — Marquee
  • Newsletter (core/search): email validation, success message, custom placeholder; signup vs decorative fields — Newsletter
  • SVG (core/image): Paste Markup, Mask Mode, Onclick, Inline SVG in text, Inline SVG files — Theme 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
  • 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. Not an accordion.

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

Next Steps

Was this article helpful?