As answered by Steven Jones in the comments, I just want to confirm that the key thing is to specify your custom post type’s settings to be 'hierarchical' => true
, not the hierarchical
argument in wp_dropdown_pages
function.
If you are using a custom plugin like Types or CPT UI, just set the option to true.
Related Posts:
- Custom Taxonomy as Dropdown in admin
- wp_dropdown_categories in custom post type with custom taxonomy
- List custom post types in dropdown
- Conditional two level dropdown filter for custom post type
- Dynamic dropdown custom post list based on dropdown selection
- Set default option in dropdown of WP_Query?
- Dropdown list of a custom post type
- Display custom taxonomy as dropdown list
- Filters post in admin with dropdown select, custom post type
- How to show cutom post labels in options?
- How to convert custom post type based list to a dropdown list?
- Widget: Custom Post Type Post Listing Dropdown on Admin Side
- Multiple level category drop-down from the WordPress dashboard
- Options page – dropdown of users
- How to make custom taxonomy into drop down select in a custom metabox
- Create a Dropdown from Custom Post Type
- dropdowboxes with pre-selected custom fields optios that filters the results according seach needs
- Page Template Dropdown For Custom Post Types
- echo selected value from dropdown
- Unable to display selected post title in frontend from metabox wp_dropdown_pages()
- Add search to ‘Parent’ dropdown
- Set Default Option Value as Blank for Meta Box
- How to selected value default in option list?
- Display Taxonomy Term Children in a Drop Down without Submit Button
- Drop down list with posts within the “add new” page
- Select Venue from dropdown list and reuse stored address information in meta_box
- How to create Custom Taxonomy Search Drop Down for specific Post Type
- Front End Dropdown Showing All Custom Post Type ‘Agent’
- Create a Dropdown Selector and Redirect for a Custom Taxonomy in WordPress?
- Change dynamically the dropdown list value
- Use output of wp_dropdown_categories($args)
- filter post by date selected in a dropdown in realtime
- Changing an item in drop down after 5 latest posts per taxonomy
- wp_dropdown_pages doesn’t allow me to select more than one custom post type
- Dropdown switching subcategories portfolio
- How to output the content of a Custom Post Type from a drop down form?
- Display posts order by custom post in a dropdown menu
- Replacing the title in admin list table
- How to remove /blog/ prefix for custom post types in permalinks?
- How to model a hierarchy for courses, levels and lessons?
- wordpress plugin error handling
- The right way to create a custom search page for complex custom post types
- Custom permalinks
- WordPress 3.1 – How does one add sticky post capabilities to post types
- Delete all the custom post types when deleting user
- Custom Post Type Works but Still Shows “Page Not Found”
- order of date column in custom post type
- Maintaining WP_Query Relation Among CPT, Custom Taxonomy, Permalinks- CPT UI
- changing default comment form arguments [duplicate]
- Change labels of custom post type via child theme
- Good way to store content and settings for an RSS plugin
- orderby in custom WP Query does not work
- Getting rid of /my_custom_post_type/ in the single view URL
- Dequeue scripts and styles only for specific custom post type
- How to set individual capability of post type in individual category
- wp_get_archives() not working for my custom post type
- Using advanced custom fields from one custom post type in another custom post type / using nested shortcodes
- Custom post URL 404 error
- How can I move (or create another) publish button?
- Wrap meta boxes & data handling for specific post types in classes?
- how to post default thumbnail if post not created yet
- Option page’s form doesn’t work
- Add arguments to get_the_terms for custom post types
- Redirect to first child on Custom Post Type (without template)
- WP_Query orderby not work with meta_key
- Returning a custom content types with meta values
- Strange custom post type issue
- Add custom field to admin area witthout using a metabox
- Can I assign a theme to a custom post type?
- WordPress as a frontend website for iOS app [closed]
- Top level menu position overwrites another entry
- How to retrive Custom Post Type Meta Fields in Custom WP_Query
- Custom Post Type Taxonomy Term Order by Title
- Associate Posts with individual user – hide from other members
- CPT to installable Plugin
- Sorting custom post types in edit.php : Post disappear
- Getting subpage of subpage – Custom posts
- Should i use custom post type for a custom footer?
- best way to use custom taxonomy, post type and meta in a job system
- WordPress rewrite rule doesn’t work unless post category is explicitly called in regex
- Create/populate Custom Posts ACF fields from external JSON file
- Error 404 change permalink term custom term taxonomy
- Sort custom post type by custom datepicker instead of filtering
- PHP Warning with Custom Fields
- How to add independent “Tags” to Custom Post Type?
- Instructor can view, edit, delete only theirs courses
- Custom status and permalinks don’t work?
- WordPress custom post type and page
- Highlight a Post on archive page if it has a new comment?
- Remove parent slugs from URLs on three customs posts types
- Custom post URLs
- pre_get_posts not firing at all
- Why are my wp urls showing page not found?
- Custom posts and custom taxonomies for many products and categories?
- How to retreive terms associated with a custom post type?
- Using tax_query to get single post per category
- Create taxonomy from Custom Post Type
- How to “Custom Post Type” as a non-programmer?
- How to add to taxonomies to a post type
- Update Custom Field daily within 7days