[wp-trac] [WordPress Trac] #3578: Page Template Madness
WordPress Trac
wp-trac at lists.automattic.com
Sun Jan 14 23:33:47 GMT 2007
#3578: Page Template Madness
-----------------------------+----------------------------------------------
Reporter: lightdifference | Owner: anonymous
Type: defect | Status: new
Priority: low | Milestone: 2.2
Component: Administration | Version:
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
I was developing a theme for a site earlier today and I stumbled upon a
rather interesting bug. As usual, I deleted the old about page and created
a new one. I added the "about" page template I had created, and to my
amazement, it was still using the default page template. I removed the
default page template in my templates folder and - out of all the things -
it simply went back to using the default index page.
After playing around with it for a while, I found a way to fix it.
Apparently, the page template name and the filename can't be the same as
the actual page name (simply renaming the template to about-page.php and
the template name to "About Page" did the trick.)
--
Ticket URL: <http://trac.wordpress.org/ticket/3578>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list