[wp-trac] [WordPress Trac] #62051: Pagination and custom post types that have a hierarchy
WordPress Trac
noreply at wordpress.org
Mon Sep 16 16:38:52 UTC 2024
#62051: Pagination and custom post types that have a hierarchy
-------------------------------------+------------------------------
Reporter: sherdev | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback close | Focuses: ui
-------------------------------------+------------------------------
Changes (by hellofromTonya):
* keywords: => reporter-feedback close
* version: 6.6.2 =>
Comment:
Hello @sherdev,
Welcome to WordPress Core Trac.
I'm not understanding the bug being reported. Can you please provide more
detailed information as well as step-by-step instructions on how to
reproduce the bug.
WordPress supports hierarchical post types, including custom post types.
It also supports parent-child hierarchy in the pagination. See developer
docs for more information
https://developer.wordpress.org/reference/functions/register_post_type/.
[https://d.pr/v/TE1Mgv Here's an example] of Books custom post type with
parent and child books that uses the Query Block.
Ticket updates for triage:
* Marking this ticket as a `close` candidate, as the pagination is working
for me and am currently thinking this is not a core bug. That said, not
closing yet pending more information being provided by the reporter.
* Removing 6.6.2 as the `Version` that introduced the reported bug, as no
changes were made in 6.6.2 related to it and comments seem to indicate
occurred before 6.6.2.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62051#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list