[wp-trac] [WordPress Trac] #23669: Allow front page template to fall back to home template when site displays blog posts index on front page

WordPress Trac noreply at wordpress.org
Sun Mar 3 00:18:23 UTC 2013


#23669: Allow front page template to fall back to home template when site displays
blog posts index on front page
-------------------------------------+------------------------------
 Reporter:  chipbennett              |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Template                 |     Version:  3.5.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------

Comment (by mfields):

 My understanding of front-page.php is that it should be used as the
 template to display content when the user visits the "root" of the
 WordPress installation. This is almost always accomplished by visiting the
 url of the website. The awesome thing about front-page.php is that it
 allows theme developers to always include certain elements regardless of
 user's settings. Such elements might be a welcome message or featured
 content areas.

 We started using this front-page.php on WordPress.com for newer themes
 that include a post slider on the front page after receiving a grip of
 support questions asking why featured content areas were not displayed on
 sites even though the sliders had been configured correctly. In each case,
 the user had their site configured to use a static page as their front
 page. Using front-page.php allowed us to display the featured content in
 both situations.

 The proposed change to template hierarchy would change the behavior of
 themes that are using front-page.php as described by the Codex:

     front-page.php - Used for both Your latest posts or A static page as
 set in the Front page displays section of Settings -> Reading

 I suggest close as wontfix.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23669#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list