#39749 closed defect (bug) (invalid)
Parent template don't appear in Child-Theme Page Attribute selection
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 4.7.2 |
| Component: | Themes | Keywords: | reporter-feedback |
| Focuses: | template | Cc: |
Description
Setup: Parent and Childtheme (which is activated). In Parenttheme folder are several page template files (i.e. page-table.php with /* Template Name: Table */).
Before WP 4.7 i could select those parent theme file in page attribute meta box. But now the select field has completly disappeared. It only appears as soon as i copy over those parent-theme files into my child theme folder which is not the main intention of the overall theme hierarchy?!
Change History (6)
#3
@
9 years ago
I just created a child theme for twentyfourteen and I can confirm that page attributes populate correctly for both 4.6.2 and 4.7.2
Which version of WP were you running previously? Which theme are you using?
Note: See
TracTickets for help on using
tickets.
WP_Theme::get_post_templates()checks the parent theme as before. Previously/Related: [39168]How exactly are the template names defined in the code? Is
/* Template Name: Table */all on one line?Does it work with all plugins disabled?