Custom WordPress blocks that work with any theme.
Elayne Blocks is a WordPress plugin that provides custom Gutenberg blocks. While originally developed as a companion plugin for the Elayne theme, these blocks work with any WordPress theme - FSE (Full Site Editing) themes, block themes, or classic themes.
This plugin was created to align with WordPress.org Theme Review requirements, which prohibit custom block registration in themes. The blocks are theme-agnostic and can be used in any WordPress site.
- Mega Menu Block (
elayne/mega-menu) - Advanced navigation menu with mega menu functionality (works best with FSE/block themes) - Carousel Block (
elayne/carousel) - Responsive image/content carousel with Slick Carousel integration - Slide Block (
elayne/slide) - Individual carousel slides with InnerBlocks support - FAQ Tabs Block (
elayne/faq-tabs) - Interactive FAQ with vertical tab navigation and dynamic content display
- WordPress 6.7 or higher
- PHP 7.3 or higher
- Works with any WordPress theme (FSE, block, or classic)
- Upload the
elayne-blocksfolder to the/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- The blocks will be available in the block editor
Each block is built using the @wordpress/scripts package and follows WordPress block development best practices.
Navigate to each block directory and run:
cd blocks/mega-menu
npm install
npm run buildRepeat for carousel, slide, and faq-tabs blocks.
Advanced navigation block with template part integration for creating dynamic mega menus.
Features:
- WordPress Interactivity API integration
- Template part support
- Responsive design
- Keyboard navigation support
Create responsive image/content carousels using Slick Carousel.
Features:
- Slick Carousel integration
- Customizable settings
- Responsive breakpoints
- Touch/swipe support
Companion block for the Carousel block.
Features:
- InnerBlocks support for flexible content
- Works seamlessly with Carousel parent block
Interactive FAQ block with vertical tab navigation and dynamic content display.
Features:
- Vertical tab navigation with questions
- Dynamic content area showing answers
- Customizable button with configurable text and URL
- WordPress Interactivity API integration
- Editable questions, titles, and descriptions via block inspector
- Responsive design with flexible layout
Initial Release
- Migrated blocks from Elayne theme to standalone plugin
- Mega Menu block with Interactivity API
- Carousel block with Slick integration
- Slide block for carousel content
GPL v3 or later - https://www.gnu.org/licenses/gpl-3.0.html
- Based on blocks originally developed for the Elayne theme
- Mega Menu block implementation based on Human Made's HM Mega Menu Block
- Built with
@wordpress/scripts - Uses Slick Carousel library for carousel functionality
For issues and feature requests, please visit: https://github.com/imagewize/elayne-blocks
Jasper Frumau - https://github.com/imagewize