+1 to putting your post types in a dedicated plugin
What you’ll want is to do something like what BBPress and Buddypress are doing.
In BBPress, default templates are provided. If the theme provides none, the defaults are used. All the themer has to do is add
add_theme_support( 'bbpress' );
Related Posts:
- why doesn’t the_content() work in this {single-custom_post_type.php} page?
- Get random custom-post-type post to display within content
- Getting a div content of a post in wordpress?
- Sanitizing post content for use in an email
- Wp-query causing problems with the_content();
- How do I set the content for a post of a particular CPT?
- Add $more_link_text parameter to the_excerpt()
- Exclude the_content (); from page password protection
- the_content() not outputting anything (Advanced Custom Fields)
- Content vs Template on custom post
- the_content filter on some post types only not working
- Adding the_content() in custom template email
- Is it better to use filter for the_content in archive pages?
- the_content(); of custom post type treated as an array or object
- Dynamic bootstrap tabs with post_title doesn’t display the_content
- How can I remove filters from custom post types?
- Add shortcode inside of the_content()
- Separate Content from gallery (custom post type)
- filter the_content, custom post type, and wp_query
- Add Content Column to Custom Post Type backend
- Creating post template for a Custom Post Type
- Auto generate excerpt from ACF field on a CPT that does not support excerpt or content
- Filter Content on all Post Types
- Expandable WordPress content (text) inside a post
- Add HTML before a specific div?
- Set post date before 1970
- Single loop for wp_query and wp_user_query
- wp_set_object_terms() is not replacing term, but creating a new one
- Custom Post Type, WP_Query and ‘orderby’
- Using custom field as custom post title
- Grab 5 latest posts from custom post type ‘announcements’
- List custom post types in dropdown
- When you create a custom post type, does that also create capabilities for editing/deleting that post type automatically?
- Numeric pagination custom post type
- Categories under custom post types doesn’t show properly
- Add an A-Z menu at the top of A-Z listing code
- get a list of posts from Custom Taxonomy
- Custom post type archive sorted and grouped by date in post meta field
- Actions that Run on Admin Edit Page Load After Posts Are Queried
- Lists Posts from CPT that match the Title of the Page
- Why do I lose the content of meta boxes when I leave the page?
- Display custom post type
- Pagination for Custom Taxonomy Page [duplicate]
- Custom Post Type archive loop separated by term, in specific term order
- How to query custom post type with 3 custom taxonomies linked to it
- How to add a custom-post-type post within another custom-post-type post edit screen using AJAX?
- Custom post type content using custom fields without template
- Hide post navigation if current post is in a category with only one post
- Plugin – Combine Meta Box Input Fields into single saveble record
- Get Posts by multiple custom fields is not working
- I want to change the word “Tags” in WordPress to something else, but how?
- Set a checkmark in a category based on a URL-parameter
- Set post terms for multiple posts
- custom post type search by reference id
- Print current post category during WP_Query
- Create Custom Post Type as page
- Custom Taxonomy Is Being Pulled into a Page, But It Doesn’t Have A Hyperlink
- Display custom post type for specific user
- WordPress as a backend for external service? [closed]
- URL Rewrite – Page Archive
- Using a Single Custom Post Type Template for Multiple CPTs
- How to prevent meta data from being edited in a post?
- Getting WordPress to store 0 values for custom post type meta
- Post type Echo code is repeating on homepage
- Displaying custom taxonomy menu in custom post type archive
- Sort by post word count in admin area
- Archive page URL for custom taxonomy and post type
- WP Query from two Custom Post type fields as statement
- Post category behave like a Post in back office menu
- My custom post type not show category
- Save data is post using php front end
- Custom page with no headers, footers and its own CSS, Javascript
- Custom Post Type Single Page and Archive Page redirects to Home Page
- Videos Post Type with Custom Filters
- Add WordPress users to a custom post type
- Pull 2 different custom post type with 2 different WordPress into external website
- Multiple Custom Post Type in Taxonomy Archive Causing White Screen
- Adding a Section for Visitors
- Add new custom post type screen (admin area) results into 404
- Custom Post Type Pagination – not displaying posts
- Use output of wp_dropdown_categories($args)
- How to Create Single template for custom post
- Permanent Custom Post Type
- How save custom meta type posts multicheck grouped by taxonomy (with CMB2) [closed]
- Add filter button to custom post type in admin area
- Change wordpress url permalink structure to show authors posts
- Parent to another Custom Post Type – Template files not being recognized
- Associate custom categories to different user IDs
- Cant move file after media_handle_upload
- archive-{custom_post_type}.php not getting recognized wordpress
- Comments not enabled for custom post types
- How do I sort post listing by child post count?
- 404 for children in hierarchical custom post type
- How to rewrite CPT-Permalinks the correct way (incorporating meta-box-data)?
- Checking for published posts in a certain post type
- Allowing logged in users to create custom posts
- Custom Post Type and single-posttype template
- Admin panel search doesn’t work for a specific custom post type
- Custom taxonomy meta fields
- Delete Term from Custom Taxonomy using wp_delete_term isn’t working