[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
Fri Jul 16 13:30:14 UTC 2010
#14328: next page doesn't work when using a template page for front page
--------------------------+-------------------------------------------------
Reporter: juggledad | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.0
Severity: normal | Keywords: template front page pagination
--------------------------+-------------------------------------------------
reproducable
1) use the TwentyTen theme
2) create a template using the 'Page of Posts' example from
http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates.
3) create some post with a category - more than a page worth
4) create a page called 'MyTest' and assign it the 'PageofPosts' template
5) add a custom field 'category' and the name of your category
6) test it out, it will go to the second page with no problem. If you look
at the link you will see: http://yourdomain.com/?page_id=50&paged=2 (the
50 is my page id)
7) go to dashboard->settings->reading and change 'Front Page Displays' to
'a static page' and set the Front Page to MyTest
8) go view the page and try to go to the next page.
What happens is that the first page is fine, but when you try to go to the
next page, the link is http://yourdomain.com/?paged=2 and the index.php is
executed, not the page you specified.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14328>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list