themes icon indicating copy to clipboard operation
themes copied to clipboard

Erma: Updates the Blog Home template to use one query block

Open creativecoder opened this issue 1 year ago • 1 comments

Changes proposed in this Pull Request:

Updates the Blog Home template to use one query block. Maintains the same offset layout style:

Screenshot 2024-05-24 at 18 03 22
Before After
image Screenshot 2024-05-24 at 18 03 54

Uses css to vary the position of post images, rather than multiple columns, query loop, and spacer blocks.

NOTE: Unfortunately the site editor view of the template is buggy and makes this approach unviable. The editor inserts a hidden element into the query loop's list of posts which makes the offset apply to different posts as you click around.

https://github.com/Automattic/themes/assets/1699996/5868cacd-5c47-4971-bcfa-ba9215ed2db6

creativecoder avatar May 24 '24 16:05 creativecoder

Preview changes

I've detected changes to the following themes in this PR: OnyxPulse, Spiel, Erma.

You can preview these changes by following the links below:

I will update this comment with the latest preview links as you push more changes to this PR. ⚠️ Note: The preview sites are created using WordPress Playground. You can add content, edit settings, and test the themes as you would on a real site, but please note that changes are not saved between sessions.

github-actions[bot] avatar May 24 '24 16:05 github-actions[bot]

Closing this until there's a viable approach that doesn't compromise the editor view.

creativecoder avatar Aug 09 '24 01:08 creativecoder