As name hints wp_list_pages()
is intended for use with pages. As in “a page page”. It uses get_pages()
internally, which has post_type
argument that defaults to page
.
I am not sure at all this is supposed to work for non-pages, but you can try to pass your custom post type as that post_type
argument.
Related Posts:
- Integrating a custom post type into a page hierarchy
- Custom Post Type as Page parent
- Should I use custom taxonomy or custom post type
- Does “Custom Post Type” can have page hierarhy option?
- How to set a ‘page’ as parent of a custom post type?
- Custom post types & Pages hierarchy – Error 404
- How to add a regular page under a custom post type?
- Custom post type / taxonomy rewrite archive page 2 gives 404
- Create more category hierarchical depth for custom post type/taxonomy plugin (widget)
- Hierarchial Custom Post Types/Taxonomies
- Hierarchical permalinks for custom post type and taxonomy
- using wp_update_post for updating custom post type
- Top Level pages in wordpress giving 404, but child pages working fine
- Page for custom post type
- Custom post type Permalinks with hierarchical Taxonomies
- Create a permalink structure with custom taxonomies and custom post types gives 404
- Why does not this wp_redirect work in is_single()?
- Why is get_pages() returning a boolean?
- Pros and cons of a custom page vs custom post type template file
- How to include custom post type posts on a page?
- Including link to custom post type in ‘wp_list_pages’ function
- the_content(); of custom post type treated as an array or object
- Custom Post type & Taxonomy 404
- Multiple pages per post (not pagination)
- Is it safe to change a Custom Post Type from “hierarchical:false” to “hierarchical:true”?
- Can I change my post type to anything and my site still work?
- Page listing Custom Posts
- Display an authors post on a single page only when they are logged in
- List of all entries of custom-post-type: Add year-parameter?
- get parent content inside child posts
- page template for custom post type
- Why are some of my custom posts not showing up on my page?
- Merge page with custom post type
- Conflict between wp_list_pages and get_posts – list pages not displaying
- Hide Status Option From WordPress Publish Metabox and Rename Published on:
- Templates for hierarchical custom post type
- custom hierarchical taxonomy and custom post type list contains surplus posts
- Creating a non-hierarchical Taxonomy that behaves like categories
- How to query for posts (hierarchical custom post type) that have children but are NOT top level?
- Migrating Hierarchal Taxonomy Categories Between Post Types
- URL Rewrite – Page Archive
- How to set the mainpage of a custom post type?
- Ideas on how to organize a project [closed]
- Render a Post or Page using the correct file
- Add search to ‘Parent’ dropdown
- How should I structure complex content hierarchies?
- Query all post types but limit to parents
- List child categories from parent category on custom taxonomy page
- Setting a homepage – doesn’t seem to work
- Under What Conditions Can I name my CPT the same as my CPT Page?
- custom post creation on front page – on submit a search is done
- Custom post type hierarchical loop in Homepage
- wp_dropdown_pages with tax_query clause
- Am I mixing up the concept of posts pages and categories?
- How to setup different permlalinks for posts and pages?
- Getting subpage of subpage – Custom posts
- Sets post_parent in custom post type posts automatically based on cpt->page name
- Tag template not returning posts [closed]
- Creating an Events Feed with Sub Pages/Posts for Each Event
- How do I disable the built-in editor and automatically configure the properties of new pages?
- Permalink with hierarchy of Custom Post Types
- Setting Custom Post Type Parents/Hierarchies
- Custom taxonomy terms hierarchical navigation
- Having hierarchies inside WordPress custom post type
- Add custom template ‘sub-page’ to Custom Post type?
- Metabox collapsed by default
- How to convert hierarchical Pages to hierarchical Custom Post Types? Slugs get a number as if they were duplicates
- How to use posts as tabs in a custom page?
- Custom Post Type Single Page and Archive Page redirects to Home Page
- Create Custom page with custom domain
- How to stop a permalink redirecting to a page whit same slug but different permalink
- Do not show child pages within a file page
- Disable Sidebar on certain pages
- Cannot save pages after migration
- Custom Post Type parent/child relationship rewrite rules for permalinks
- Attempting to get number of grandchildren of page in WP_Query loop
- Displaying posts inside table having issues
- Show posts from custom post type sorted by category/taxonomy on a one-pager/page
- How to make “single post” permalink maintain it’s sub-page structure
- put a list of one post type in other post type to select from it and display selected item in second post type’s single page
- hierarchical Custom post type child permalink not found
- Create a Hierarchical List of Custom Taxonomies AND Posts
- How to manage a custom post type archive as a page?
- How to manage a custom post type archive as a page?
- Include images from pages in wp search.php results in default wp search
- Display posts of a hierarchical custom post type excluding parent posts
- Most efficient way of showing children posts?
- Hierarchical Custom Post Type Walker?
- Display a Custom Post Type within another with hierarchically slug
- WordPress Contents Migration
- Custom Post Hierarchy and users
- Creating Slider in wordpress theme with custom post
- How can I make my CPT read from page-*post-type*.php?
- One Post with different content, depending on a Page
- Custom Post Type categories at edit post not hierarchical
- Listing Custom Post Post from certain category
- Cannot use pages created on WP
- Use the page picker from wordpress menu creation page
- Different post types arranged on one page
- How can I add a “fake” parent into the permalink?