Remove paged.php from the theme template hierarchy
|Reported by:||johnbillion||Owned by:||johnbillion|
The theme template hierarchy has support for a seldom-used template file called paged.php. This is intended as a template for paged archives but its implementation is almost useless, because it's the lowest priority template in the hierarchy before falling back to index.php. Here's the template hierarchy for a paged category archive:
If any other template file -- such as category.php or archive.php -- is in place, this will be chosen before paged.php. A theme with a paged.php template but without any kind of archive template is not a useful theme.
Let's remove paged.php from the hierarchy for simplicity.
A scan of the 4,000+ themes in the w.org theme directory reports not one single theme using a paged.php template. (Three themes are using a placeholder paged.php template in a subdirectory as part of a theme framework that uses a hierarchy identical to core.)
Change History (16)
7 months ago
- Keywords has-patch needs-testing added; needs-patch removed
- Owner set to johnbillion
- Status changed from new to reviewing
7 months ago
- Keywords needs-testing removed
- Status changed from reviewing to accepted