[wp-trac] [WordPress Trac] #14328: next page doesn't work when using a template page for front page

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 20 11:16:56 UTC 2010


#14328: next page doesn't work when using a template page for front page
--------------------------------------------+-------------------------------
 Reporter:  juggledad                       |        Owner:          
     Type:  defect (bug)                    |       Status:  reopened
 Priority:  normal                          |    Milestone:          
Component:  General                         |      Version:  3.0     
 Severity:  normal                          |   Resolution:          
 Keywords:  template front page pagination  |  
--------------------------------------------+-------------------------------
Changes (by juggledad):

  * status:  closed => reopened
  * resolution:  invalid =>


Comment:

 It seems to me that that is inconsistant.

 Lets say I have a page template that I set as the front page and it
 contains The LOOP, and it does 'X' to every post. If I set the 'Blog pages
 show at most' to 10, then 10 posts will show "X'. If I change the 'Blog
 pages show at most' to 5, then I will see "X' on the first 5 posts, but
 when you go to the next page "X" will not happen. This is inconsistent.

 Even more the point, if I have two pages in my site and used the same
 template for both and set one as the front page, what is seen on both
 pages should be the same. If it is different then - in my mind - there is
 a bug.

 If you allow the front page to be set to a page with a template, then on
 pagination, you still have use that template.

 Replying to [comment:3 scribu]:
 > That's the correct behaviour: the 'Page of Posts' template is only
 loaded for the front page, not for subsequent paged archives.
 >
 > You should use home.php if you want that behaviour.

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


More information about the wp-trac mailing list