Automattic / themes

Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
https://themeshaper.com
GNU General Public License v2.0
845 stars 342 forks source link

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

Open creativecoder opened 1 month ago

creativecoder commented 1 month ago

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

github-actions[bot] commented 1 month ago

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.