[wp-trac] [WordPress Trac] #7715: With Static home page enabled,
Posts page won't use a custom page template.
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 8 23:39:50 GMT 2008
#7715: With Static home page enabled, Posts page won't use a custom page template.
------------------------+---------------------------------------------------
Reporter: miloandrew | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: Template | Version: 2.6.1
Severity: normal | Keywords:
------------------------+---------------------------------------------------
I seem to have stumbled on a bug in WP 2.6.1.
When making a Page in WP, you can specify a page template to base it off
of, as outlined http://codex.wordpress.org/Pages#Page_Templates.
If I make a page (lets call it Blog) and then specify a custom template
for it say My_Blog_Template then browse to the page slug for the Blog, the
custom template is viewed just fine.
BUT, if I go to the wp-admin/options-reading.php page and
1. select that I would like a to use a static home page and then
specify one (NOT Blog)
2. and then specify the Blog page with the My_Blog_Template for the
Posts page
The Blog page no loner picks up My_Blog_Template, but rather defaults to
the normal template hierarchy.
What I'm trying to figure out is:
* Was index.php designed to be used as the "latest posts" template?
(therefore removing the need for my "blog" custom template? I don't think
this is the case, as it is the fallback for ALL template hierarchy.
OR
* Is there a bug where the Post page won't read a custom template as
specified in the Manage Page admin screen? This is what I believe the
situation is...
--
Ticket URL: <http://trac.wordpress.org/ticket/7715>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list