I think you can do this if you think through how the template hierarchy works carefully enough.
archive-post.php
should handle your standardpost
post typesarchive.php
would then handle the rest of the archives- You may want specialized category–
category.php
- or tag archives–
tag.php
A similar pattern should work for single post display.
single-post.php
should handle your singlepost
post typesingle.php
should handle everything else
Related Posts:
- Help Creating a Slideshow Custom Post Type with Custom Meta Boxes?
- How to force one column layout on custom post type edit page?
- Automatically generate custom post title based on meta
- Hide custom post type from nav menu manager
- category__in not working on custom post type
- Creating a Custom Post Types dropdown in a Meta Box
- Menu with Automatic Pages Included from Custom Post Type
- Ajax filter with custom taxonomies
- Is there An Input Checkbox Option That Works like `wp_dropdown_categories()` To Use In A WP Search Form?
- Registered Post Type Isn’t Showing in Admin Menu
- Multiple templates for custom post type
- Create a relationship between two custom post types?
- Adding Custom Taxonomy Archive Link to Nav Menu Shows Up As (Invalid)
- How to dynamically build a multiple taxonomy query loop within a post type’s single loop?
- Check if author or current user has posts published
- Make a function to run only for CPTs
- WordPress custom meta field for custom post not storing data
- $wpdb: Counting posts corresponding to 3 terms in 3 different taxonomies
- List all images from a single post meta value
- Validate custom fields before save using WordPress Rest API
- Overriding taxonomy and custom post type
- WordPress Custom Post Type Children Template
- Allow post/page hierarchy across different post types?
- Multiple level category drop-down from the WordPress dashboard
- Custom Post Type Permalink
- Modifying custom post type created by WooCommerce
- Adding a metabox on a CPT’s submenu page
- Ordering values entered in Custom Taxonomies
- Page for custom post type
- Linking from CPT page to taxonomy.php
- How to update to WordPress 3.6 and not lose my website’s design
- Custom Post Loop pulling all custom posts, not just one
- detect when a custom post is cretaed for the first time
- Delete a custom post function value
- How can I merge this function(s) that inserts terms to a custom taxonomy with this other that adds a custom taxonomy filter?
- Custom fields not saving in newest WordPress 3.0.1
- Custom Post Type to replace Woocommerce products – page not found error
- Can’t change posts per page in WordPress Post Type Query
- Showing a meta box in a custom post type on a page
- Masonry Append WordPress posts with singleMode
- How to create a archive template for custom post type [duplicate]
- How to display a specific post type name in a breadcrumb
- Custom rewrite rules for /pastissues/%category%-%postname%.html
- If/Else child list for Custom Post Type single template within loop?
- Problem with customize page cached in WordPress.com [closed]
- How can I put content before my custom post type default pages?
- How to add page the same slug like custom post type?
- Featured image not appearing
- Custom Endpoint For Specific Custom Post Type
- Store a value in global scope after init hook is fired
- Boostrap Sliser convert into wordpress
- Show custom post type event if current day using ACF
- Forcing two or more custom post type to be private
- Numeric pagination custom post type
- Attaching more than 1 parent (Post) to a media file
- custom post types – overwrite function in parent theme function.php via child theme
- Enable Authors in Multiple Custom Post Types
- Dropwdown: Get taxonomy terms from posts that share preselected terms from 3 other taxonomies
- Custom post type loop without children
- Order posts by meta value hiding posts instead of re-ordering
- custom search results – order results differently by post type
- get_post_meta for Custom Post Type ( CPT )
- Help understanding custom post type and children
- call_user_func_array() error after moving to another server
- How to get $post object available inside functions.php to localize script?
- add current-menu-item to multiple custom post types
- Redirect permalinks after creating custom post types
- How to divide posts (custom post type) content on multiple pages?
- Query Posts with Custom Taxonomy from a Custom Post Type
- Cannot get query var ‘post_type’ to work
- Custom term link return 404 error
- How to apply order on custom taxonomy and custom meta key on custom post type
- Updating a custom field in a custom post type
- Remove slug from Custom Category Permalink + dual-category permalinks
- WordPress Set A Static Page/Template For All Sub-Pages
- Custom Form Data save after Login User
- Looking for advice how to approach building a WordPress plug-in
- Get all posts of any post type in a category from REST API
- Function to Compare CPT Post Custom Value with Default Posts CF Value
- How to automate the creation of advanced layout article/post
- Redirect drafted post of custom post type to URL?
- Custom Post Type with multiple Custom Taxonomies / Hide Taxonomy Slug from URL
- Display code if title of the custom post matches title of other post
- Taxonomy listing issue – does not display how I would like
- Custom archive URL as a subfolder of the custom post type slug
- get_post_types() is returning null
- How to insert a post from a different post type after every nth post
- Sort CPT by taxonomy AND THEN by custom field
- Custom post type disappeared in wordpress when I transferred theme to Showit
- Title- Custom taxonomy by using get_term
- I want to show a list of posts under specified categories
- Complex Custom Loop with Includes
- Sorting by Title for Post Archive Categories for Custom Post Type
- Single custom post type page redirect to 404 page
- How can I show a field ID in Elementor with Request Parameter
- Custom post type single page fine for admin, 404 from front
- How can I incldue a “private” post type in a loop for public users?
- How to automatically compare date from custom post type with current date and change taxonomy based on a result?
- select categories by ids/display terms only selected
- How to exclude a certain CPT from a snippet for Dashboard box?