- This topic has 0 replies, 1 voice, and was last updated 1 year, 7 months ago by .
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?
- You must be logged in to reply to this topic.