Post field to handle child pages in nested format

Support General Post field to handle child pages in nested format

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #16603
    Content PilotContent Pilot
    Participant

    Hi Ahn, is it possible to show the select filed in a nested format where the parent page is listed then directly underneath are the child pages. Our client is naming some of their pages inside a custom post the exact same wording and getting confused when trying to make a relationship on the other end. When they open the select field it looks like a duplicate. I was think of maybe a 'hierarchical' => true flag triggers the use of a wp-query inside a wp_query where the Post parent is bold and then the children have the "--" dash at the beginning the title just like the edit.php screen does for child pages.

    Here is an example under Templating - https://select2.org/dropdown

    What do you think?

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.