WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#12092 closed defect (bug) (wontfix)

permalinks problem with custom # of posts displayed

Reported by: Frumph Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

(new ticket to reiterate old ticket)

Scenario:

Create a loop that is limiting # (i.e. showposts=# of posts in the loop with paging.
Add the previous and next page links to it. Have a bunch of posts available enough to span a few pages.

With permalinks on it's calculating the pages available to the settings->reading amount of posts to display and not the showposts=#

With permalinks off its calculating properly.

This has been around since wordpress 2.8 was introduced.

So basically with permalinks on its not allowing the urlrewriter with permalinks to associate the proper number of pages it can go to.

Change History (3)

comment:1 Frumph4 years ago

Closing since this has a work around by sending add_filter('pre_get_posts

comment:2 Frumph4 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

comment:3 scribu4 years ago

  • Milestone Unassigned deleted
Note: See TracTickets for help on using tickets.