Opened 4 years ago
Closed 4 years ago
#8643 closed defect (bug) (invalid)
Templates are lost
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Template | Version: | 2.7 |
| Severity: | normal | Keywords: | templates reporter-feedback |
| Cc: |
Description
In WP 2.7, it is impossible to choose a template for a page or a post.
Attachments (1)
Change History (14)
- Milestone 2.7.1 deleted
- Resolution set to invalid
- Severity changed from major to normal
- Status changed from new to closed
- Resolution invalid deleted
- Status changed from closed to reopened
Attributes panel are enabled, but i can't choose a template.
- Keywords reporter-feedback added
Need a bit more info.
Do you see the Template selection box? If so, Does the option not stick?
Have you tried with all plugins disabled, And the default theme? (Assuming it has some templates)
(Note, That templates work correctly for me, I'm using them now, So i'm tempted to reclose as worksforme unless you've got alternate source)
I use the default theme with only one extension (akismet).
I don't see the Template selection box
I use 5 templates, because before i have created 5 templates under wp 2.6.5 (my installation is an upgrade 2.6.5 > 2.7)
- Priority changed from high to normal
Is this in a specific browser?
My 2.6.5 -> 2.7 test site is showing the template select just fine from the default theme. Of course if you have a non-stock theme with more templates it could be something about the particular templates that is causing them not to show.
i use firefox 3, and i can reproduce the problem on 4 other blogs :/
Do your Page templates have the comment in
E.g.
/*
Template Name: Archives
*/
For their name?
comment:10
csseur3 — 4 years ago
absolutely, and all of my templates works good on wp 2.6.5
comment:11
filosofo — 4 years ago
I have seen something like this a couple of times but have been unable to reproduce it in order to track down. The solution for me was to switch to another theme and switch back to the current theme.
comment:12
mrmist — 4 years ago
The code that generates this has not changed a lot, looks like it was just code cleaning in theme.php since 2.6.5. You could always try swapping out the code in get_page_templates for the 2.6.5 copy.
comment:13
csseur3 — 4 years ago
- Resolution set to invalid
- Status changed from reopened to closed
Thanks filosofo!
the theme is not really good activated when i switch 2.6.5 > 2.7 and just reactived it and all are good :)
bye

You couldn't choose templates for posts anyway. Templates for pages can be selected from the Attributes panel. If you can't see that panel, check Screen Options on the Add Post page and ensure that it's enabled.