Skip to content

V4.4.0#89

Merged
jasperf merged 4 commits into
mainfrom
v4.4.0
May 27, 2026
Merged

V4.4.0#89
jasperf merged 4 commits into
mainfrom
v4.4.0

Conversation

@jasperf

@jasperf jasperf commented May 27, 2026

Copy link
Copy Markdown
Contributor

This release (v4.4.0) introduces a new shared post-loop-grid pattern that consolidates the post listing layout used across index and archive templates, reducing duplication and establishing a single source of truth for grid-based post loops. Both template-index-grid and template-page-archive have been refactored to reference this new pattern via wp:pattern, replacing their previously inline block markup. Additionally, redundant inline styles were removed from the main-services-stack and plumbing-hero patterns, aligning them with the theme's block-style CSS architecture. The version has been bumped to 4.4.0 with corresponding updates to style.css, readme.txt, and CHANGELOG.md.

Pattern Architecture:

  • Added patterns/post-loop-grid.php as a reusable post loop pattern with a grid layout, intended to be consumed by index and archive templates rather than duplicated inline in each.
  • Refactored template-index-grid.php and template-page-archive.php to delegate post loop rendering to the new shared pattern, improving maintainability when the grid layout needs future updates.

Bug Fixes and Style Cleanup:

  • Removed redundant inline styles from patterns/main-services-stack.php and patterns/plumbing-hero.php, ensuring these patterns rely on registered block styles rather than ad-hoc inline overrides that can conflict with theme.json values.

Release Housekeeping:

  • Bumped theme version to 4.4.0 across style.css and readme.txt, and added a new changelog entry in CHANGELOG.md documenting the pattern refactor and style fixes.

Files Changed:

jasperf added 4 commits May 27, 2026 14:51
…bing-hero

Removes duplicate margin-bottom from the columns wrapper in main-services-stack and redundant margin-top:0 from the stats flex group in plumbing-hero; spacing is already governed by block attributes.
New elayne/post-loop-grid pattern with a responsive 3→2→1 grid (20rem minimumColumnWidth), portrait featured images, date/category meta, and query pagination. Uses inherit:true to pull context from the current archive/index page. Marked Inserter:false — template use only.
…t-loop-grid

Both templates now reference elayne/post-loop-grid instead of elayne/blog-post-columns-portrait.
@jasperf
jasperf merged commit 736252b into main May 27, 2026
3 checks passed
@jasperf
jasperf deleted the v4.4.0 branch May 27, 2026 07:56
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.

1 participant