Custom Blocks

Aegis Dash registers eight blocks: Map and Modal, and, since 1.1.0, Countdown, Slider, Slide, Toggle, Toggle Content and Related Posts, which used to be Aegis theme blocks. core/video is not a separate block: the theme framework enhances it and the Aegis Video add-on provides the player.

Updated 5 min read Atmostfear Entertainment

Block Ownership

Block Registered by Notes
aegis/map Aegis Dash Google Maps + OpenStreetMap fallback
aegis/modal Aegis Dash Popup/overlay dialogs
aegis/countdown, slider, slide, toggle, toggle-content, related-posts Aegis Dash (since 1.1.0) Moved from the theme; block names, markup, CSS classes and script handles are unchanged, so saved content keeps working. See Countdown, Slider and Slide, Toggle and Related Posts
core/video WordPress core Enhanced by the theme framework; the Aegis Video add-on provides the player (not a separate aegis/video block)

Aegis Dash registers the six moved blocks only when the theme has not already registered them (older theme releases), and only on the Aegis theme or a child theme.

Feature Toggles

Enable or disable block features at Aegis → Blocks (admin.php?page=aegis-blocks). Features are off by default on new installs.

Turn block features on or off in Aegis → Blocks.

Parent block sections:

Section Block / variation
Accordion List variation
Countdown Countdown block — Countdown
Counter Paragraph variation
Icon Core Icon block (core/icon). Aegis collections register on the WordPress Icon library (WP 7.1+). There is no Image Icon variation.
Lightbox Core Image lightbox extras (grouped nav, zoom, thumbnails, swipe) — Theme Lightbox
Compare Pro aegis/image-compare before/after slider — extras at Aegis → Blocks → Compare; see Pro Blocks
Map Map block (plugin)
Marquee Group variation — Marquee
Modal Modal block (plugin)
Newsletter Search variation — Newsletter
Query Loop Core query enhancement — Query Loop
Related Posts Related Posts block — extras at Aegis → Blocks → Related Posts; see Related Posts
Slider Slider and Slide blocks — extras at Aegis → Blocks → Slider; see Slider and Slide
SVG Image variation (is-style-svg on core/image). Style registered in PHP. Extras at Aegis → Blocks → SVG. Paste markup in SVG Settings. Decorative icons use the Icon block, not this variation.
Toggle Toggle and Toggle Content blocks — Toggle
Video Core video enhancement

Each section includes sub-feature toggles. Items marked Pro require Aegis Pro.

Map Block

See Map Block for full documentation: API keys, OSM fallback, schema, Static Maps facade styles, and Aegis → Blocks → Map extras.

  • Interactive Google Maps with API keys under Aegis → Connectors → Google Maps
  • Click-to-load Static Maps facade using the same style presets (and Pro custom JSON) as the interactive map
  • Optional OpenStreetMap provider, plus an OSM fallback when Google has no key
  • Schema.org Local Business output when the schema extra is enabled

See Modal Block for full documentation: layouts, triggers, Aegis → Blocks → Modal extras, and render fallbacks.

  • Popup, off-canvas, bottom sheet, and fullscreen dialogs (the latter two extras fall back to popup when off)
  • Click triggers (button, text, icon, image) plus Pro exit intent, scroll depth, and time delay
  • Theme light/dark tokens on the dialog; close control Top right of screen (default) or On dialog
  • Instance list and starters at Aegis → Modals (starters enable the extras their patterns use)

Manage modal overview stats at Aegis → Modals. Create modal content by adding aegis/modal blocks in the editor.

Slider Block

Theme-owned (aegis/slider + aegis/slide). There is no parent Slider toggle: enabling any extra at Aegis → Blocks → Slider implies the block. Plugin demo patterns aegis/slider-* register only when the block is implied on.

Free extras: Slide, Fade, Navigation Arrows, Pagination Dots, Infinite Loop, Keyboard Navigation, Responsive Slides. Pro extras: Autoplay, Advanced Effects (fade), Thumbnails, Lightbox, Mousewheel, Aspect Ratio, Lazy Loading, Arrow Styles, Dot Styles.

Splide registers as WordPress handles (splide, splide-autoscroll) so the view script can mount. Default Slides Per Page is 1; existing saved blocks keep their stored value. Full attributes and Pro vs Splide notes: Slider and Slide.

Theme-owned (aegis/related-posts). There is no parent Related Posts toggle: enabling any extra at Aegis → Blocks → Related Posts implies the block.

Extra Inspector Off fallback
Related By Related By auto
Order By Order By / Order date, descending
Fallback Behavior Fallback latest posts
Style Variants Grid / List / Cards / Minimal grid
Excerpt Length Excerpt Length 20 words
Image Aspect Ratio Image Aspect Ratio 16/9

Heading, post count, columns, and display toggles stay available when the block is registered. Theme patterns blog-related-posts-{grid,list,cards,minimal} unregister when the block is implied off. Do not ship duplicate related-posts patterns from this plugin.

Full attributes, query filter, and Pro vs Query Loop notes: Related Posts.

Countdown Block

Plugin-owned (aegis/countdown). There is no parent Countdown toggle: enabling any extra at Aegis → Blocks → Countdown implies the block.

Free extras: segment toggles, custom labels, separator, layout, expiry message, timezone, Schema.org Event. Pro extras: evergreen timer, animation styles, auto-restart, expiry actions, urgency styling.

The datetime picker stays available when the block is registered. Full attributes: Theme Countdown.

Compare Block

Pro-only (aegis/image-compare). There is no parent Compare toggle: enabling any extra at Aegis → Blocks → Compare implies the block in the inserter. Saved blocks still render when extras are off.

All extras are Pro: orientation, before/after labels (including show-on-hover), starting position, slide on hover, circle handle, smooth motion, fluid clip. Smooth Motion extra off leaves the library default (smooth, 100ms). Aspect ratio, height, object-fit, and object-position stay on the theme Image inspector (not Blocks extras); height applies CSS custom properties on the wrapper. Pick two images on the block; extras only expose those inspector controls.

See Pro Blocks.

Toggle Block

Theme-owned (aegis/toggle + aegis/toggle-content). There is no parent Toggle toggle: enabling any extra at Aegis → Blocks → Toggle implies the block.

Free extras: pill, switch, and button switcher styles; alignment; custom labels. Pro extras: URL sync, state persistence, animations (fade, slide, flip, scale on click), nested toggles, conditional visibility.

Pill and button styles follow Aegis light/dark tokens (page surface and theme button colors). The block is a two-view content switcher, not an accordion. Heading tag, icon type, FAQ schema, and allow-multiple were accordion leftovers and are removed. Full attributes: Theme Toggle.

Next Steps

Was this article helpful?