Root Page setting for custom post types
-
Hello!
I’d like to set the root page for a custom post type – but I want the root page to be a page in that custom post type. It looks like right now, I can only select a root page from the built-in Page post type. Am I missing something?
If you’ve got a Github repo, I’d be happy to contribute a pull request for this feature. 2 potential solutions could be:
- Apply a filter to the arguments of wp_dropdown_pages() in the admin settings page, so that other devs like myself can add a post_type parameter to the arguments.
- Add an additional drop-down so that without any code, an admin can choose which post type the root page should be drawn from.
Cheers,
Jacob
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Root Page setting for custom post types’ is closed to new replies.