Theme Cleanup 09/12/25 #60
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This release represents a comprehensive cleanup and modernization of the Moiraine theme, streamlining its pattern library from 88+ inherited Ollie patterns down to a curated set of 45 essential patterns while introducing new typography options and enhanced design flexibility. The changes eliminate redundant patterns across card, menu, footer, header, and page template categories, replacing them with refined, production-ready alternatives that better align with modern WordPress block theme best practices. New pattern additions include hero variations, statistics showcases, team grids, and client review sections, while typography enhancements introduce the Bitter variable font family with nine preset variations. The update maintains full backward compatibility with existing theme functionality while improving code quality through WPCS compliance and documentation updates.
Pattern Library Restructuring:
hero-two-tone.php,hero-with-cta.php,client-reviews-orange.php,contact-info.php,cta-newsletter.php,feature-grid.php,stats-list.php,stats-showcase.php,team-grid.php, andtestimonial-card.phpTypography and Design System:
Bitter-VariableFont_wght.woff2,Bitter-Italic-VariableFont_wght.woff2) to expand typography optionstheme.jsonenabling nine professional font combination variations accessible via WordPress Site Editoricon-lightning.svg,icon-package.svg,icon-star.svg,icon-users.svg) in the patterns images directory for enhanced visual design elementsDocumentation and Developer Guidance:
CHANGELOG.md,README.md, andreadme.txtwith comprehensive documentation of pattern changes, new features, and development workflow improvementsfunctions.phpto reflect updated pattern categories and block style registrations aligned with the streamlined pattern libraryFiles Changed:
CHANGELOG.md(Modified)README.md(Modified)functions.php(Modified)patterns/card-details.php(Modified)patterns/feature-boxes-with-button.php(Modified)patterns/header-light-with-hamburger-menu.php(Modified)patterns/hero-call-to-action-buttons-light.php(Modified)patterns/hero-dark.php(Modified)patterns/hero-light.php(Modified)patterns/numbers.php(Modified)patterns/post-featured-two-column.php(Modified)patterns/pricing-table.php(Modified)patterns/services-feature-cards.php(Modified)patterns/text-call-to-action-buttons.php(Modified)patterns/text-call-to-action.php(Modified)readme.txt(Modified)style.css(Modified)theme.json(Modified)assets/fonts/bitter/Bitter-Italic-VariableFont_wght.woff2(Added)assets/fonts/bitter/Bitter-VariableFont_wght.woff2(Added)patterns/blog-post-columns-portrait.php(Added)patterns/client-reviews-orange.php(Added)patterns/contact-info.php(Added)patterns/cta-newsletter.php(Added)patterns/feature-grid.php(Added)patterns/hero-two-tone.php(Added)patterns/hero-with-cta.php(Added)patterns/images/icon-lightning.svg(Added)patterns/images/icon-package.svg(Added)patterns/images/icon-star.svg(Added)patterns/images/icon-users.svg(Added)patterns/stats-list.php(Added)patterns/stats-showcase.php(Added)patterns/team-grid.php(Added)patterns/testimonial-card.php(Added)patterns/directory (*.php files)