Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create the header template part for the right aligned blog with vertical heading #285

Closed

Conversation

KevinTaron
Copy link
Contributor

Description
Regarding Issue #279 - the vertical header was outsourced to a template part and registered in the theme.json.
The pattern for the vertical header was inserted and the title was changed to level 0.

The new template part was inserted at all places where the original vertical header was used.
Also all there is now only one h1 on every template. But for the home template "vertical-header-aligned-home-template.php" I have added a h1 with "Blog" like the original home.html - because the blog posting shouldn't be the h1 and there was no other good option to set the h1.
In the archive it's the archive title, on the single pages and posts its the title and in the search results its the query title.

There shouldn't be visible changes as I tested, except the "Blog" title in the home-template.php

** Screenshots **

Screenshot of Blogtitle and figma design
image
image

Video

output.webm

Testing Instructions

  1. Active the theme and add the template to the pages (home-template to home, single-page to page etc.)
  2. Check if everything is working correctly and looks like before and the figma design.

Copy link

github-actions bot commented Sep 12, 2024

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: KevinTaron <ktaron@git.wordpress.org>
Co-authored-by: beafialho <beafialho@git.wordpress.org>

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

@beafialho
Copy link
Contributor

Thank you @KevinTaron!

Could you please add a similar spacer (preset Regular) below "Blog"?

Captura de ecrã 2024-09-12, às 16 32 56

@KevinTaron
Copy link
Contributor Author

Hope you meant this spacer @beafialho

@carolinan carolinan changed the title Right aligned blog with vertical heading Create the header template part for the right aligned blog with vertical heading Sep 14, 2024
@carolinan carolinan added the Accessibility (a11y) Needs accessibility testing or feedback label Sep 14, 2024
@carolinan
Copy link
Contributor

I have merged this in a separate PR because of the merge conflicts. I have added the props from both PR's.

@carolinan carolinan closed this Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accessibility (a11y) Needs accessibility testing or feedback
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants