Opened 4 weeks ago
Last modified 3 days ago
#62326 assigned enhancement
Add title and description to post format archive block templates
Reported by: | poena | Owned by: | poena |
---|---|---|---|
Milestone: | 6.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | has-patch needs-testing has-screenshots has-testing-info |
Focuses: | template | Cc: |
Description (last modified by )
When a block theme includes the HTML file for a post format archive, the Site Editor shows the template without a description and without a human-readable name.
Instead it shows the name of the HTML file.
To reproduce:
Activate a block theme that has supports for post formats, for example, Twenty Twenty-Five.
Post format archive templates can not be created using the Site Editor interface yet, so you need to manually add the HTML file to the theme's templates folder.
Example file name for the link post format: taxonomy-post_format-post-format-link.html
Now go to Appearance > Editor > Templates.
Locate the template you added and confirm if the template has a readable name and description.
Expected result:
It would be a better user experience to show a readable name and description.
Also see: https://github.com/WordPress/gutenberg/issues/65319
Attachments (5)
Change History (13)
This ticket was mentioned in PR #7694 on WordPress/wordpress-develop by @poena.
4 weeks ago
#1
- Keywords has-patch added
#5
@
6 days ago
- Keywords has-screenshots added
Reproduction Report
Description
This report validates whether the issue can be reproduced.
Environment
- WordPress: 6.8-alpha-59274-src
- PHP: 8.2.25
- Server: nginx/1.27.2
- Database: mysqli (Server: 8.0.40 / Client: mysqlnd 8.2.25)
- Browser: Chrome 129.0.0.0
- OS: macOS
- Theme: Twenty Twenty-Five 1.0
- MU Plugins: None activated
- Plugins:
- Test Reports 1.2.0
Actual Results
- ✅ The newly added template ie. taxonomy-post_format-post-format-link.html has an unreadable title and description
Supplemental Artifacts
#6
@
6 days ago
- Keywords has-testing-info added
Test Report
Description
This report validates whether the indicated patch works as expected.
Patch tested: https://github.com/WordPress/wordpress-develop/pull/7694.diff
Environment
- WordPress: 6.8-alpha-59274-src
- PHP: 8.2.25
- Server: nginx/1.27.2
- Database: mysqli (Server: 8.0.40 / Client: mysqlnd 8.2.25)
- Browser: Chrome 129.0.0.0
- OS: macOS
- Theme: Twenty Twenty-Five 1.0
- MU Plugins: None activated
- Plugins:
- Test Reports 1.2.0
Actual Results
- ✅ Issue resolved with patch.
Supplemental Artifacts
#7
@
5 days ago
Test Report
Description
This report validates whether the indicated patch works as expected.
Patch tested: https://github.com/WordPress/wordpress-develop/pull/7694.diff
Environment
- WordPress: 6.8-alpha-59274-src
- PHP: 8.2.25
- Server: nginx/1.27.2
- Database: mysqli (Server: 8.0.40 / Client: mysqlnd 8.2.25)
- Browser: Chrome 131.0.0.0
- OS: macOS
- Theme: Twenty Twenty-Five 1.0
- MU Plugins: None activated
- Plugins:
- Test Reports 1.2.0
Actual Results
- ✅ Issue resolved with patch.
Supplemental Artifacts
#8
@
3 days ago
Test Report
Description
This report validates whether the indicated patch works as expected.
Patch tested: https://github.com/WordPress/wordpress-develop/pull/7694.diff
Environment
- WordPress: 6.8-alpha-59274-src
- PHP: 8.2.26
- Server: nginx/1.27.3
- Database: mysqli (Server: 8.0.40 / Client: mysqlnd 8.2.26)
- Browser: Chrome 131.0.0.0
- OS: Linux
- Theme: Twenty Twenty-Five 1.0
- MU Plugins: None activated
- Plugins:
- Test Reports 1.2.0
Actual Results
- ✅ Issue resolved with patch.
Trac ticket:
https://core.trac.wordpress.org/ticket/62326