As per first comment, you can use wp_list_pages
like this:
wp_list_pages ( array ( 'post_type' => 'yourcustomposttype' ) );
Related Posts:
- Including link to custom post type in ‘wp_list_pages’ function
- Use the page picker from wordpress menu creation page
- how to override menu widget?
- Highlight specific menu item when custom post is page
- Where to put my code: plugin or functions.php?
- Custom Post Type Slug / Page Slug Conflict – Prevent use of reserved slug on page save?
- Adding a menu item for a Custom Post Archive
- Adding custom post type archives to a WordPress menu
- Custom Post Type Data in Sidebar widgets?
- Custom Post Type as Page parent
- How to add meta box to backend menu page
- How to add a post from a custom post type as the static page?
- Hide custom post type from nav menu manager
- Custom Posts on Different Pages
- Pagination with custom loop
- Include images from pages in wp search.php results in default wp search
- Priority for Categories, Tags, Taxonomies, Posts, Pages and Custom Posts with same url
- Including a custom post type in the Archives widget
- Menu with Automatic Pages Included from Custom Post Type
- How to embed form data within the ‘Add new post’
- Create Custom Post Type Archive Page with Sub Categories Navigation Sidebar
- Make custom post type display as a page
- Custom Post Type .current-menu-item not applying on Custom Post Type Archive Page
- Adding Custom Taxonomy Archive Link to Nav Menu Shows Up As (Invalid)
- How do I create an archive page for standard posts?
- Multiple portfolios with one custom post type?
- Is it possible to use pages to apply static content to each taxonomy level?
- Add custom post types stats to a custom dashboard widget
- Including Custom Post Type posts in a page template contextually (or should I widget?)
- Custom Blog Post Listing in Genesis Sample Child Theme
- Pull in custom content types into page template
- Navigation menus not showing because of custom post type filter
- How do I fix permalinks for custom post types that has the same slug as a page?
- Should I use custom menu, C.P.T. or theme options, or something else for this?
- Disable featured image
- Register widget only page is a singular of custom post type
- Widget: Custom Post Type Post Listing Dropdown on Admin Side
- Second Set of Eyes: One custom taxonomy shows in Appearance > Menus, one does not
- Display Custom Toxonomy In WordPress and theme Widgets category selection dropdown list
- No Permission to add new Page, Post or CPT with Admin role
- Custom Widget WP_Query problem
- Show Custom Post Type meta boxes only on Page Edit
- Filter widget outputs
- Why does my content disapear when I make a page to match an archive name?
- How to use Custom Page Templates for hierarchical Custom Post Type
- A page that shows a list of a specific custom post type
- Set Custom Post Type in Widget Settings for use in Widget
- Review site custom post type structure
- Pros and cons of a custom page vs custom post type template file
- How to include custom post type posts on a page?
- how to set a WP Plugin’s url
- Which Template Page Should I Use?
- Can I change my post type to anything and my site still work?
- Why isn’t a list of posts from my custom post type displaying in this widget?
- Page listing Custom Posts
- Why are some of my custom posts not showing up on my page?
- WordPress menu with custom taxonomy
- Hide Status Option From WordPress Publish Metabox and Rename Published on:
- How to set the mainpage of a custom post type?
- Post Query not working
- Setting a homepage – doesn’t seem to work
- wp_dropdown_pages with tax_query clause
- Am I mixing up the concept of posts pages and categories?
- Tag template not returning posts [closed]
- Custom post type post in custom menu
- Does “Custom Post Type” can have page hierarhy option?
- Custom post type posts wont show in wp_nav_menu()
- Catagorized hierarchy menu for PAGES!
- Truncate custom post type content
- Home page is getting current-menu-item even if it’s not home
- How to set a ‘page’ as parent of a custom post type?
- How can I put content before my custom post type default pages?
- How we can create menu from Appearance > Menu and use as a add-submenu-page for admin menu?
- Metabox collapsed by default
- wp_get_nav_menu_items doesn’t return custom post type item
- Custom post types & Pages hierarchy – Error 404
- How to make “single post” permalink maintain it’s sub-page structure
- Automatically add CPT UI categories to the menu
- Possition a Custom Post Type Tab under Settings
- Include images from pages in wp search.php results in default wp search
- wp_nav_menu doesn’t seem to work on custom post type pages
- WordPress Contents Migration
- how to display notifications in the wordpress menu when a new post is published
- Menu disappears with custom post type link
- How to display custom post type in a submenu?
- add current-menu-item to multiple custom post types
- archive.php can’t find categorized posts
- Nav style for current page with custom post type
- Admin menu post type
- How to display the FAQ Archive page in my menu
- Custom Taxonomy Showing in WP Menu
- Plugins for putting Custom Post Types into the Menu
- No Current Class showing in Menu for Custom Post Types
- Custom post type in submenu with custom meta box as a title with custom html
- Getting (Invalid) when adding custom taxonomy of custom post type link in menu [closed]
- Custom Post Type Slug / Page Slug Conflict – Prevent use of reserved slug on page save?
- Page that ‘subscribes’ to multiple categories
- How to make a single Menu Item call another Mega Menu for Custom Post Types and Custom Taxonomies?
- How do I hide single category post on my post page
- Can’t add custom post type archive page to menu