Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 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:


(new ticket to reiterate old ticket)


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)

#1 @Frumph
6 years ago

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

#2 @Frumph
6 years ago

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

#3 @scribu
6 years ago

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