[wp-trac] [WordPress Trac] #35344: Strange pagination issue on front page after 4.4.1 update
WordPress Trac
noreply at wordpress.org
Mon Jan 25 13:29:58 UTC 2016
#35344: Strange pagination issue on front page after 4.4.1 update
-------------------------------------------------+-------------------------
Reporter: northeme | Owner: dd32
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.4.2
Component: Canonical | Version: 4.4.1
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests needs- | Focuses:
testing |
-------------------------------------------------+-------------------------
Comment (by nimrodlflores):
Replying to [comment:60 dd32]:
> It seems to be that the remaining issues being experienced is this
scenario, which is sounding like a combination of #35482 and this ticket.
>
> * Static page on front, no posts page defined
> * `query_posts()` or `$wp_query = new WP_Query()` used within the
template to display the first page of posts
> * `/page/2/` would then load page 2 of the posts index with no static
page in sight.
>
> The problem I face, is that `/page/2/` should NOT be the archive of
posts, it should be the second page of the static home page (You can
paginate posts/pages using the `<!--nextpage-->` tag in your content).
>
It's more like this in my case:
* Static page on front using a page template that lists:
1. A limited number of custom posts and
2. A paginated list of native wp blog posts
(and yes, the page template in the front uses `query_posts()` to retrieve
the CPT's and the native posts.)
* Another separate page assigned as the blog posts page
* `/page/2/` would load the same set of CPT's and the 2nd page of the
native posts index.
I'm not sure if I explained it clearly enough, but you can check the site
here: http://philpropertyexpert.com
I ended up just rolling back to 4.3.2 for now just to get it working
again. (4.4 has the same issue.) But before the rollback, `/page/2/` and
onwards would display the same 1st page of the native posts index.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35344#comment:64>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list