If there’s no significant reason that you can’t do the queries separately (putting each type into its own div), then show and hide the divs based on the user input, then that might be a significantly simpler solution to code. That way, you’d be doing simple queries, not trying to bunch them all together and remove the pages).
Related Posts:
- Custom post type role permissions won’t let me read
- Showing User’s Post Counts by Custom Post Type in the Admin’s User List?
- How to remove Filters from post admin page?
- Custom Post Types on Category Pages
- Confusion with adding meta capabilities to a role after registering a Custom Post Type with corresponding ‘capability_type’ parameter
- Display content from custom meta boxes in revisions
- WP cron: when to schedule a 1-time event
- Pre get posts for single post
- Custom Post Type pagination – normal solutions aren’t helping
- Custom Post Type Archives by Date (stored as meta value) WP3.1
- Rewrite permalinks for custom posttype and custom taxonomy
- Getting Post ID from slug during init
- Rewrite custom post & taxonomy to share same URL path
- Highlight nav menu terms
- Custom Post Types, Custom Taxonomies and Permalinks ?
- delete custom post based on custom field date
- Load custom post type in a different WordPress installation
- Get_post_meta() won’t return value
- Disable All In One SEO Pack for some custom post types [closed]
- Settings page above CPT page in admin section
- wp parse_query not working with custom meta value
- Display Custom Category (taxonomy) Name in Custom Post Type
- Recommended way to remove WP REST API returned data for custom post
- How to create another version of the Category widget?
- Order WordPress Custom Taxonomy Pages & Pagination Not Working
- Child Theme for Mobile Browsers
- How to use WP_Query in a CPT achive page?
- Have a Custom Post Type index page display taxonomy items instead of posts
- Custom Post Types relationships
- Display different content on homepage depending on post type
- How can i skip same post from taxonomy term?
- Custom Post Type + 20k posts = blank/404 within Admin edit.php [duplicate]
- Rewrite WordPress URL to show CPT meta field data
- just can’t get date-based archives per post-type to work
- Create/Edit posts and auto-redirect back to listing page
- How to load a template without it being assigned to a page/post?
- Is it possible to list and create custom post types with Vimpress?
- WP_Query orderby modified to include custom meta changes
- how to check if custom post type column already exists?
- Posts are duplicating on wp_post_update
- different post-class when template is loaded via ajax
- Giving permission to anyone (non-users as well) with a password to edit a post, possible?
- Get unique superset of taxonomy terms from a list of custom posts in another hierarchical taxonomy
- Custom archive page for CPT UI
- Multiple (two) category postings on the same page.
- Admin Column does not populate with data
- Remotely search WordPress sites using xml-rpc
- P̶l̶a̶c̶e̶h̶o̶l̶d̶e̶r̶ *Default* content in Custom Post Type TinyMCE editor
- permalink /category/post-name with custom post type and taxonomy
- Creating a Custom Post Type and Joining with Users
- Set a hard-coded page-template (post-type-archive) as home/front-page of my wordpress blog?
- Displaying tags associated with posts in Custom Post Type
- Using custom post type as taxonomy
- Custom taxonomy page returns 404
- WordPress: Custom User Role cannot access Custom Post Type | “Sorry, you are not allowed to access this page”
- Select other roles as custom post authors
- Why does wp_update_post causes white screen?
- Change WordPress custom field default calendar [closed]
- Show all Tags in each post
- Auto Expire/Delete Custom Post Type Posts after specified time
- Filter posts of custom post type by meta key in (List All Section)
- saving dropdown menu data on custom post type
- Cannot Save MetaBox Data in Custom Post Type
- Custom post type 404 error on “default” or “numeric” permalinks
- List of a specific Custom Post Type in Custom Template
- Custom post type meta box empty after save
- Add Permalink to Post Thumbnail, syntax code issues
- Custom field with Types: get custom field’s value label (of type select)
- display custom portfolio tags
- Custom Post Type and Taxonomy Rewrite Error
- how to retrieve related projects in a post but via a custom taxonomy?
- How do I find the count of the current post?
- Custom post type rewrite slug translate?
- How to display singular_name of custom taxonomy?
- Taxonomy doesn’t follow slug permalink structure
- Show posts from custom post type sorted by category/taxonomy on a one-pager/page
- Add input radio menu to post
- Query a custom taxonomy in a function to create an csv file
- How to properly get the wp_postmeta.meta_value of a custom post type in specifics?
- Combine all posts into one places
- Mix Facebook and Twitter feed into custom posts
- Simple Data picker meta box
- ACF Post Content Not Being Searched
- Taxonomy Page Go to 404 pgae
- Custom Fields through plugin in a Custom Post Type
- Need some suggestion/help with custom post types project
- Custom Homepage As Single Page or Custom Post Type?
- How to loop through custom post type posts
- WordPress Permalink Custom Post type
- Custom Post Type only display items created by user
- Default custom column to off
- Taxonomy count per Post type
- Custom page template not being called
- Custom post type pagination, single page issue
- How to display only taxonomies of custom post type in a page?
- Adapting plugin for custom post type?
- Display by tag from different post types
- How to Create a Frontend Html-list Editable in the Backend?
- Remove custom meta boxes from custom post type
- post__in select all custom posts and not the selected array of ids