Skip to content

Conversation

@jasperf
Copy link
Contributor

@jasperf jasperf commented Jan 21, 2026

This release migrates the custom menu area functionality from the Elayne theme to the Elayne Blocks plugin, completing a strategic separation of theme and plugin responsibilities. The version bump to 2.3.2 reflects this architectural change, which removes theme-level menu area registration while maintaining compatibility with sites that have the Navigation Extension plugin installed. This change streamlines the theme's codebase by delegating navigation customization features to the plugin layer, following WordPress best practices for theme/plugin separation.

Theme Architecture Changes:

  • Removed custom menu area registration from functions.php, eliminating the elayne_register_menus() function that previously registered 'primary' and 'footer' navigation menus
  • Deleted the elayne_menus_init action hook that attached menu registration to WordPress initialization
  • This migration assumes users will install the Navigation Extension plugin for advanced menu area functionality

Version and Documentation Updates:

  • Updated theme version to 2.3.2 across style.css, readme.txt, and CHANGELOG.md to reflect the menu area migration
  • Added changelog entry documenting the removal of custom menu area registration and migration to plugin-based approach
  • Maintained stable tag consistency in readme.txt for WordPress.org theme repository compliance

Files Changed:

@jasperf jasperf merged commit 4d750e1 into main Jan 21, 2026
2 checks passed
@jasperf jasperf deleted the menu-area-removal branch January 21, 2026 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants