In WP Admin go to Settings -> Permalinks and Save Changes. You don’t need to change anything, just save. This resets wordpress rewrite rules which usually fixes 404 errors with newly added CPTs.
Related Posts:
- Should I use RIPS tool to test my themes and plugins?
- Workflow and best practice for documentation [closed]
- Override the core function locate_template
- add_action in functions.php, do_action in plugin?
- Reusable functions and tools (Framework)
- How to get current post user id
- Plugin-generated pages use Not Found or Pages Archive templates?
- Is there any kind of theme on WordPress to sell my own movies?
- Homemade plugin while using Themify Ultra
- How do I combine a theme with a plugin
- Create custom pages with a plugin
- How to write “alt” tag in image for wordpress code?
- I receive taxonomy id
- Don’t load the theme for a page FROM a plugin EDITED
- Extending a theme: build new features as plugin or core modules?
- How to check homepage contain blog post?
- How do you create a re-useable HTML fragment in wordpress
- Scrape key check failed. Please try again
- How to override any plugin file in the child theme
- when i activate my WordPress plugin cannot see customizer options or preview
- How to prevent redoing get_posts queries and make results available to other scripts?
- how to add custom css at top above all css file for specific url
- Why the output of an image gallery plugin is not displayed into a page of my custom theme?
- Input gets deleted/overwritten after changing to different Admin Menu
- Breadcrumb is not generating the correct post page url
- How to get current template file used by WordPress?
- Site is setup statically – how to make it content managable?
- How to escape html code?
- How to make content as required in custom post type?
- to perform the requested action wordpress needs to access your web server. please enter your ftp
- Get plugin directory from a theme
- Rewriting every url
- How can I make my custom shortcode work in a Custom HTML Widget?
- Custom admin column disappearing when using Quick Edit [duplicate]
- Create page when plugin is activated
- How to un-attach rich text editor from named textarea elements
- How can I translate the name of my Plugin for other languages?
- Which hook callback has priority if both plugin and theme use the same hook?
- how to not show plugin in admin area
- Memory Leak in plugin action
- Getting User email on logout. wp_logout
- Ajax call doesn’t work in frontend but it’s working in backend (when I’m logged in)
- Logs to check when the plugin was first installed for the first time
- Can a plugin add to header/footer/body content?
- How Can A Plugin Hook Itself To the End of Every Excerpt?
- Allow Facebook to preview posts before published
- Let user subscribe to specific categories
- add action for displaying posts using a shortcode
- Best way to hook a custom url?
- How to cancel WordPress’ action/filter when using OOP with anonymous callback
- How do I add a custom sub menu menu under Woo-commerce marketing?
- How to load plugin after page is loaded – pagespeed issues
- Uncode theme content block header ignoring saved changes/not updating?
- Theme and plugin install or update display error in localhost
- Do action only on certain front end pages?
- External CSS in WordPress Plugin [closed]
- User Session and Stored Cookies not get removed
- Create custom registration form for WordPress Multisite
- Create a navbar filter that filters by a custom field
- get 404 when accessing wp-admin/plugin-install.php
- Advanced Custom Field DatePicker [closed]
- Woocommerce Minimum Price for a Composite Product to add in cart
- add tabs in rdp-plugin/includes/settings.php and get settings saved
- WordPress 3.8.3. custom theme – sliders won’t load js/css files
- Plugin Development Form Self Submission
- How To Extend A WordPress Plugin Without Losing Your Changes [duplicate]
- Does a blank plugin come with any overhead?
- Admin AJAX doesn’t work in plugin admin page – Even though code is copied verbatim from WordPress Codex
- Why is my custom post type not being activated on plug-in activation?
- Making that Admin Bar transparent or a blue color
- How to generate an all in one WordPress New content, plugin and theme update report on a website? [closed]
- Why WP_Screeen doesn’t show all options with admin_body_class
- Built a second plugin but it overwrote the first one
- Search users with custom meta data
- Calling a class method instantiated by ajax call in wordpress [closed]
- Per theme plugins?
- Remove all messages, when untrash a post
- Error using wordpress functions inside a plugin class
- How to Join wp_posts & wp_postmeta table using custom query
- Use localized plugin name and description even when the plugin is disabled
- How to resolve warning for `unstableOnSplit` prop on a DOM element in block editor
- Rename a folder via HTML POST request
- Cron task gets removed from the schedule
- How to store a custom theme and update it on other installations
- implement checkbox or toggle switch in plugin code
- How to disable a widget area of a specific page?
- How to put a maximum real-time users limit
- Custom admin plugin read CSV
- How to get short description under heading – Visual Composer [closed]
- plugin installing error
- Call function when save setting/option in custom admin page
- How can I use wp_ajax_response for front-end error reporting?
- Force download a file within plugin file
- Can anyone tell me why I can’t edit a plugin when it is installed without having to re-install?
- Is it possible to run javascript on plugin deactivated?
- Gutenberg: Dynamic Block – Show saved data in the editor
- How to fix ‘Call to undefined function do_settings()’ error?
- Is there a way to stop the theme and especially plugins listed?
- Meta box not displaying on the plugin page
- public custom posts not showing in my wordpress plugin