If they are separate post types you can use WP’s theme file structure.
More info: https://developer.wordpress.org/themes/basics/template-hierarchy/
Related Posts:
- How to get custom post type post id from slug?
- How to make a WP_Query search with custom post types?
- How to show Y number of custom posts after every X normal posts?
- Custom Taxonomy Template Post List with Sort Order
- Custom post types vs post formats : future-proofing – is one less “future proof” than another?
- create a mostly read only CPT
- Hide/Show only specific categories in wp-admin new-post.php
- Front end registration/login & publish/update 1 custom post
- Taxonomy page returns 404 page not found
- Refine custom posts by author
- Post type archive page not working
- Single Page WordPress CSS and JS links
- WordPress query by multiple Custom fields and order by date
- Unable to filter on field on edit.php page
- Help with hierarchical custom taxonomies and permalinks…almost there
- Using ‘strtotime’ function to convert a custom-meta-box to a date-stamp
- How to get only one category of custom post type?
- Adding posts of custom type into the main feed
- Create separate template for shared custom taxonomy with shared terms
- Correct way to use get_template_part() and get_post_format() with custom post types?
- Changing the header on post listing page in admin area
- Get random custom posts from a custom post type
- Return Attachments from Custom Post Type
- Custom Post Type Pagination & duplicate posts
- Multisite custom post type’s single page 404
- Display custom post type taxonomy and month
- Display custom field of specific post where post title matches variable
- How to search for many post types?
- Pull Two Different Post Types into Different HTML Containers on the Same Page
- Show Different Header on a Specific Post ID
- Why my CPT does not appear on the dashboard menu when i activate the plugin?
- “add_post_type_support” with Custom Post Type & ACF
- Problem fields custom date, time, and checkbox
- Custom template won’t load for a custom post type (custom permalinks used)
- Include only recents custom posts in WP rss feed
- custom post type Search returns No Results in admin panel
- Genesis filterable portfolio isotope [closed]
- Custom post type and taxonomy – show related posts
- How do I amend the have_posts function to include custom posts?
- Custom Post Type + ACF and performance [closed]
- is_post_type_archive is false when I pass GET parameters in the URL
- CPT post count is 0 for the authors in the User list
- Can’t remove front from permalinks for custom taxonomy category page
- Store CPT ‘Reviews’ average ratings to a WordPress DB table or to a DB custom table?
- Display Child Pages of Custom Post Type Parent Page
- Why isn’t my custom post type archive URL translating?
- Custom post type template but
- How to make custom taxonomy into drop down select in a custom metabox
- Slug Confusion Between Post and Custom Post types?
- How to change path for default WordPress blog posts?
- disable quickedit for specific custom post type user role
- How to Echo Metadata Value in Currency Format
- Wp Query with multiple custom tag(taxonomy) by get the terms
- Problems with custom taxonomies
- How does: /index.php?post_type=event&event-date=2011-07-25 work? What if it doesn’t work?
- Prevent A Specific Custom Post Type Showing In WP Search Results Page
- Getting post attchment URL to populate a CPT Admin Page Column
- Pagination doesnt work in custom post type
- Custom REST endpoint not working to retrieve single posts (“rest_no_route”)
- Comment form on custom page template
- get_post_types() can’t get some of my post type
- Why is wp api returning old acf values?
- Meta box data is saved but NOT displayed in the meta box text field. Why?
- Custom Post Types and Removing Slugs – should we do it?
- How to display class name in this shortcode post query
- Need to have an archive widget which organizes and displays a custom post type using a custom date field
- Display Posts Query with IF function
- Sort Archive by Taxonomy
- WordPress admin for a custom post, hide/collapse the main “title” and “description” boxes
- Why can’t I query more than 1 post type at a time?
- Rewriting the WP Sub Posts plugin to allow one custom post type to be a child of another custom post type
- Custom Post Type Child Won’t Come Through With Pretty Permalinks
- Use custom post type taxonomy between cpt slug and name
- Adding accordion-section to custom post type edit screen
- Orderby custom fields is not working
- Manually adding current_page_parent to wp_list_pages()
- Custom Page out of Wp Theme
- Filtering posts based on three taxonomies
- How to order taxonomy terms by most recent post?
- Having issue on Loading Meta Data From CSV to CPT
- Custom Post Status not getting displayed after post update
- Building Link List for Custom Tax
- Published page but it is page not found
- $_SESSION Not working after X amount of page views
- One of my headings is mysteriously coming up as a link in my CPT Archive
- Looping through image object using ACF and CPT UI [SOLVED]
- Can I rename the description field in a custom post type?
- Associate custom CPT with another CPT’s taxonomy and rewrite permalinks
- Custom user roles
- WordPress feed only shows first page of category
- Search attachments in custom post type only
- Same permalink structure for all post types?
- Custom Info Box at end of posts?
- Pages displays correctly but returning a 404 error in http header.
- Modifying and Displaying URL’s in a Post Template using parse_url
- Query by post type or category
- CPT Template Option to Top
- Register_post and add_menu & add_submenu conflict?
- Url rewrite with custom post type and taxonomy
- Custom Post Types Permalink