-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
Description
When rendering the page, the title of the first post in the query loop is displayed as page title. Instead of the title of the page.
After that, I've tried to add Archive Title block instead, but this doesn't render anything at all.
Is this intended behavior? How do we add a title for the blog page? All I can think of right now is a static heading in the template.
Step-by-step reproduction instructions
- Add a new page with page-title 'blog'.
- Set this page as the blog page through reading settings.
- Add the template home.html + header.html template part.
- In this template, add a Page Title block.
- Display the posts page and the title renders the first title in the posts loop
Screenshots, screen recording, code snippet
No response
Environment info
- WP 5.9
- Without Gutenberg plugin
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.