You need to flush rewrite rules after creating CPT, go to Settings –> Permalinks and save them.
Related Posts:
- Get post with multiple meta keys and value
- Get posts for custom post type with WP_Query
- Custom Post Type Data in Sidebar widgets?
- Custom Post Type Permalink / Rewrite not working immediately
- How to add custom content template part for a custom post type on main query using a plugin
- Custom Post type in separate database table for syncing
- Why would WordPress use ‘attachment’ in a custom post type’s query string?
- Unregister post type from child theme
- Custom Post Type With Different Views
- How to get term link that crosses different custom post types?
- Custom post type Admin Page
- Enforcing canonical URLs with multiple custom post types
- How to set individual capabilities on a taxonomy? Or how to re-register an existing taxonomy?
- Set post title from two meta fields
- Where to put archive-{post-type}.php
- WP_Query -> sort results by relevance (= most tags / taxonomy terms in common)
- Correct way to use a form to to filter custom posts by taxonomy terms?
- Using Custom Templates for Custom Post Types for the Genesis Theme Framework?
- WordPress custom post type category pagination 404 Error
- Custom-Taxonomy as categories: Remove “most-used” tab?
- Custom Permalinks for Custom Post Types and Taxonomies
- Custom Taxonomy order by Custom Field
- Custom post types – non-visible title and how it affects URL
- Limit search form to 4 custom post types only
- How can I include meta box content when searching?
- “More” span making trouble
- Single Post Pages for Custom Post Types
- Get all posts WHERE custom_field is LIKE value
- Show ACF field from custom taxonomy and display on the single template
- Add Content Exclusively to a Custom Post Type Feed
- How to rename image at uploading on specific plugin or post-type in WordPress
- ‘Pages’ widget alternative for custom post types?
- Loop on front-page.php
- How to insert multiple images into a single post within a CPT
- Create custom post type on successful woocommerce order [closed]
- How to create a json API for my custom post type
- Display custom post type in hierarchical order with get_terms
- the_title filter returning wrong post type
- Parent field missing from custom post type in the block editor
- Am unable to reset a query properly
- Creating a navigation menu of all posts of a custom post type and their children posts?
- Custom Post Types. Are there any disadvantages/advantages in using a plugin to develop them?
- allow BOTH post slug and meta key value in permalink for custom post type
- Filter custom posts using auto populated dropdown selectors
- A simple script to allow sorting of custom posts in admin?
- Is it possible to create relational metabox values in a custom post?
- Custom Post Type Query for Sidebar Doesn’t Work on Front Page
- Display Custom Toxonomy In WordPress and theme Widgets category selection dropdown list
- URL rewrite add author as base
- filter custom post in rest api with custom function
- Changing default ‘posts’ parameters with register_post_type_args
- Custom fields (wp_post_meta) vs Custom Table for large amount of data
- How to display single post from custom post type loop?
- Archive for CPT
- Querying Custom Post Type, ordering by Custom Taxonomy Pagination Not Working
- Define/declare new custom types with fields in plugin?
- How to Output which matched meta_keys were found from custom_type_posts?
- Can custom fields be added without a meta box?
- pagination not working for category.php (custom post types in categories)
- Check post on publish for blank title
- previous_post_link in same taxonomy in custom post type
- How do I create a new post upon registration with the users first and last name as title
- Display both parent and child custom taxonomy / content
- Dynamic pages for linked categories and content
- How do I replace the post title with a custom field?
- How can I make custom static widgets/areas on my homepage?
- Custom Taxonomy dont save in a frontend form for post a custom post
- Plugin needed to allow subscribers to post articles on the front end without admin approval [closed]
- Page template that uses lightbox to display post images
- Change Dropdown jQuery to show/hide but with default place holder that shows all
- Get the taxonomy value in the post loop inside the archive page
- Custom post type archive URLs with a single taxonomy
- Custom Post Type and Structure Question
- How to get rewrited name of cusom taxonomy?
- How to access repeater field of a custom field?
- Change CPT permalink to use the category
- Custom Post Type 404 Error even after flushing rewrite rules
- Custom post types & Pages hierarchy – Error 404
- custom post type section selector
- Update/publish custom post type with jQuery?
- Custom Post Type slug and WPML gets 404 error
- Previous/Next custom post links within custom taxonomy
- Custom post type: “transition_post_status” action get title and other fields
- wp_dropdown_pages doesn’t allow me to select more than one custom post type
- Override “Parent” input for custom taxonomy
- How to develop custom URL redirection
- Custom post type with Filter and Page Nav
- Custom Post Type Archive Links Not Working
- Custom Post Type Categories Not Maintaining URL structure any more
- CPT unsaved draft gives error 404 – when Post Formats support enabled
- Why is this custom post type defaulting to archive.php?
- Custom Post Types and Child Themes!
- Custom post types permalinks not working
- How do I ensure custom post type information is displayed in correct order?
- Tag-post relationship problem
- Rewrite rules for using the same base slug for multiple content types
- Custom Post type as Taxonomy
- Getting 404.php instead of single-.php [duplicate]
- How to manage wordpress knowledge base/wiki/posts collections
- add_rewrite_rule not working in Custom Post Type UI Plugin