[wp-trac] [WordPress Trac] #53165: WordPress can't pagination in taxonomy page

WordPress Trac noreply at wordpress.org
Mon Jul 19 15:16:30 UTC 2021


#53165: WordPress can't pagination in taxonomy page
-------------------------------------+------------------------------
 Reporter:  minhtrungs               |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Taxonomy                 |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  reporter-feedback close  |     Focuses:
-------------------------------------+------------------------------
Changes (by hellofromTonya):

 * keywords:  dev-feedback => reporter-feedback close
 * focuses:  performance =>
 * version:  trunk =>


Comment:

 Hello @minhtrungs,

 Welcome to WordPress Trac! Thank you for reporting the problem you are
 experiencing.

 I was not able to reproduce this problem with WordPress 5.7.2 or 5.8-RC4
 using a custom taxonomy assigned to the builtin `post` post type.
 Pagination of 3 pages worked as expected for me.

 Here are my steps for testing:

 1. Installed a clean WordPress version using Twenty Twenty-One theme and
 no plugins activated.
 2. Added test posts with various categories assigned.
 3. Viewed the categories on the front-end. With 3 pages of categories,
 pagination worked as expected for each page.
 4. Added a custom taxonomy and assigned it to `post`.
 ([https://gist.github.com/hellofromtonya/e09c280ac2d0ec2743843f726456c620
 See this gist] for the code used.)
 5. Set the permalinks by going to `Settings` > `Permalinks` and then
 clicking on `Save Changes` button.
 6. Added different test terms by going to `Posts` > `Test`.
 7. Assigned test terms to the posts using the `Quick Edit`.
 8. Viewed the `Test` terms by going to `http://wpdev.local/test/test1/`
 (where `wpdev.local` is my local machine's test site).

 Results: Pagination worked as expected.

 @minhtrungs can you share the following information please. Why? More
 information helps contributors to further investigate and advise:

 - What version of WordPress are you using?
 - What theme is active?
 - What plugins are activated?
 - Does page 1 show correctly?
 - Did it work previously? If yes, what changed before the problem happened
 (such as adding another plugin, switching to a different theme, etc.).
 - If you're able, does the problem resolve when deactivating all plugins
 and switching to a default theme?

 I suspect the problem is due to a rewrite issue or 3rd party conflict
 (such as a plugin) rather than due to WordPress core itself. Marking it as
 a potential `close` candidate.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53165#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list