Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.

Add templates and theme.json changes for "personal blog"#103

Merged
carolinan merged 19 commits into
trunkfrom
add/personal-blog
Aug 25, 2024
Merged

Add templates and theme.json changes for "personal blog"#103
carolinan merged 19 commits into
trunkfrom
add/personal-blog

Conversation

@carolinan

@carolinan carolinan commented Aug 21, 2024

Copy link
Copy Markdown
Contributor

Description

Adds the templates and patterns for the "personal blog".
Figma link

For #40

Testing Instructions

On your WordPress test installation, set these reading settings:

  • Your homepage displays your latest posts
  • Blog pages show at most 2 posts

Then create some mixed content.
Two pages, one with and without a featured image.
A couple of posts, with and without tags and featured images, with titles of different lengths.
There needs to be enough posts to trigger the pagination on single posts and archives.

Add a default width, wide width, and full width group block with a background color to one post and page, to test
that the widths work correctly in single view and archives.

View all the templates both in the Site Editor and the front, and compare them to the Figma design.
Home
Archive
Search
Single
Page

Index -To view this template on the front you first need to delete or rename the home template in the theme folder.

Test on different browser window sizes.

Screenshots

Small previews:
templates-1

templates-2

Single post:
templates-single-post

Archive:
templates-archive

@carolinan carolinan marked this pull request as draft August 21, 2024 12:41
@github-actions

github-actions Bot commented Aug 21, 2024

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: carolinan <[email protected]>
Co-authored-by: juanfra <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@carolinan carolinan changed the title Add templates and theme.json changes for "personal blog" WIP: Add templates and theme.json changes for "personal blog" Aug 21, 2024
Comment thread templates/single.html
Comment thread templates/single.html Outdated
Comment thread templates/single.html Outdated
Change the layout type of the query loop to default. This fixes a problem where full width blocks did not use the correct width in the archives.
- Change the inner div in the post navigation to a nav.
- Add an aria label that says "Post navigation"
- Move the section to a pattern.
@carolinan carolinan changed the title WIP: Add templates and theme.json changes for "personal blog" Add templates and theme.json changes for "personal blog" Aug 23, 2024
@carolinan carolinan marked this pull request as ready for review August 23, 2024 06:23
@carolinan

This comment was marked as outdated.

@carolinan

Copy link
Copy Markdown
Contributor Author

I am merging this for the sake of speed and making testing easier.

@carolinan carolinan merged commit 164be9c into trunk Aug 25, 2024
@juanfra juanfra deleted the add/personal-blog branch August 26, 2024 10:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants