Opened 12 years ago
Closed 10 years ago
#21168 closed enhancement (invalid)
Add ability to remove a parent theme's page templates
Reported by: | billerickson | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Themes | Keywords: | |
Focuses: | Cc: |
Description
When building a website using a child theme, I'll often want to remove page templates that the parent theme provides but aren't useful/relevant to the specific site I'm building.
You can create a page template with the same name to override the parent theme's, but you can't simply remove it.
This could be a use case of #13265, or we could add function that leverages #13265
Change History (4)
Note: See
TracTickets for help on using
tickets.
This was addressed in r27297 and r27470, with the
theme_page_templates
filter.