Documentation-Issue-Tracker
Documentation-Issue-Tracker copied to clipboard
The Template Hierarchy graph in your official documentation is not updated
Issue Description
The official Template Hierarchy graph is not updated since obviously templates named as single-$posttype-$slug.php are NOT recognized by WP 6.7.
This mistake cost me several hours of useless debugging cause i trusted your official documentation. Please could you update the documentation before this drives many developers crazy for no real reason?
Thank you very much,
Devis
URL of the Page with the Issue
https://developer.wordpress.org/themes/templates/template-hierarchy/ https://i0.wp.com/developer.wordpress.org/files/2023/10/template-hierarchy-scaled.jpeg?ssl=1 https://developer.wordpress.org/themes/basics/template-hierarchy/
Section of Page with the issue
Why is this a problem?
Developers will rely on your official graph to know the right names for their custom theme templates files. Since the documentation is wrong, they'll spend a lot of time on figuring out why things are not working properly. If we can't rely on official documentation, then I don't know what we can rely on.
Suggested Fix
Please update the graph image as soon as possible
Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels.
So what about this ticket?