Pattern Directories

Patterns added by the plugin in the block inserter.

DirectoryPatternsWhen registered
patterns/slider/Slider demonstration patternsSlider block implied on
patterns/modal/Modal starters (modal-video, modal-newsletter, modal-contact, modal-cookie-consent)Modal block enabled (config/patterns.php)
patterns/contact/Contact form layouts (includes Map block)Plugin + theme active
patterns/author/Co-authors layout patternsCo-Authors Plus active and the integration on
patterns/woocommerce/Shop templates, product layouts, WC headers, checkout/cart patternsWooCommerce active
patterns/wishlist/Wishlist page pattern (template-page-wishlist)WooCommerce + TI Wishlist active

Dependency Matrix

Pattern setRequires
SliderAegis theme + Aegis plugin + Slider extras implied on
Modal patternsAbove + Modal block enabled
Map contact patternsAbove + Map block enabled
patterns/author/Co-Authors Plus active and the integration on
patterns/woocommerce/**Above + WooCommerce
patterns/wishlist/**Above + TI WooCommerce Wishlist

Commerce patterns use the same slug convention as theme patterns (template-page-cart, header-default, etc.) via \Aegis\Utilities\Pattern::register_from_file() so FSE templates that reference pattern slugs continue to resolve.

The theme does not ship copies of those WooCommerce patterns. The exception is a Woo-free header/default for parts/header.html when WooCommerce is inactive; the plugin overlays the mini-cart variant of header-default when WooCommerce is active.

FSE templates (cart, checkout, wishlist, etc.) remain in the theme templates/ directory. They are hidden from the Site Editor when dependencies are inactive; companion patterns register only when dependencies are active.

Generic commerce marketing patterns without WooCommerce blocks (trust badges, category grids with core blocks) stay in the theme.

Bookshop Patterns

Added in 1.0.2. They register with the other WooCommerce patterns (WooCommerce active). Slugs follow the first category plus the file’s Slug header.

PatternSlugUse
Book Buy Boxproduct-book-buySingle product buy box for a book
Related Novelsproduct-book-relatedRelated products under a book
Bookshop Catalog (Shop)product-archive-liveLive product grid
Selected Works (Shop)product-works-liveLive product grid
Author’s Desk (Shop)product-desk-liveLive product grid
Journal Edition (Shop)product-journal-liveLive product grid
Journal Shop Sidebarsidebar-journal-shopShop sidebar
Catalog Store Headerheader-store-catalogStore header with search, customer account, and mini cart
Bookshop Store Headerheader-store-bookshopStore header with search, customer account, and mini cart
Author Shop Pagepages-author-storeFull page
Book Product Pagepages-book-storeFull page
Journal Shop Pagepages-journal-storeFull page
Coastline Essay, Shoppages-essay-storeFull page
Bookshop, Shoppages-bookshop-storeFull page
Archival Checkout, Shoppages-checkout-storeFull page
Bindery Confirmation, Shoppages-confirmation-storeFull page

CommercePatternRegistrar

src/Patterns/CommercePatternRegistrar.php (config/woocommerce-patterns.php):

Pattern audit

The theme tool tools/audit-patterns.php scans plugin patterns/woocommerce/ and patterns/wishlist/ for slug integrity. See Theme Development Tools.

Pro Patterns

Marketing and premium layout patterns live in Aegis Pro. See Pro Patterns.

Do not duplicate Pro pattern slugs in the theme or free plugin.

Contact form+map layouts (form-map, form-map-overlay) live in this plugin and register only when the Map block is enabled. Do not copy them into the theme.

The contact patterns (aegis/form-map, aegis/form-map-overlay, aegis/modal-contact) hold a static HTML form that only shows the layout. Keep them free of add-on code. While the Aegis Forms add-on is active, it registers its own versions under the same names, with a working Form block; when it is deactivated these files are used again.

Modal starters live only in this plugin (patterns/modal/, names aegis/modal-*). They register when Aegis → Blocks → Modal is enabled. Do not ship or draft them under the theme patterns/modal/ folder.

Related Posts grid, list, cards, and minimal layouts live in the theme (patterns/blog/related-posts-*.php, slugs blog-related-posts-*). They unregister when Aegis → Blocks → Related Posts is implied off. Do not copy them into this plugin.

Next Steps