Try updating permalinks in settings. If that doesn’t work please provide the code for your register_posttype function.
both the pages are not loaded
…meaning you get 404 errors, or the correct content loads but in the wrong templates? when new post types are added, you will get 404 errors using pretty permalinks until you flush the rewrite rules. this can be achieved by visiting the permalinks settings page.
Related Posts:
- How can I remove the “Add New” button in my custom post type?
- Submit post and upload image from front-end
- How to disable generation of default image sizes for some custom post types?
- Quick edit screen customization
- Development of a WordPress Search Plugin – Best Practices
- Mini-Site Strategy
- WP_Query orderby custom field then post_date in one query
- Using Custom Fields in Custom Post Type URL
- How do I Filter Custom Post Type by Custom Taxonomy in the newest WordPress RESTful API?
- How to list all categories and tags in a page?
- show tags of custom post type ONLY
- Hierachical Custom post types permalinks not working
- Why is the »_builtin« parameter not advised in »register_post_type()« for custom post types?
- Display posts of custom type in hierarchical order
- Many to Many Taxonomies or rewrite rules?
- Query posts by custom post type and custom taxonomy
- How to display the rest of categories on Portfolio filterable
- Get post info inside modal window?
- Change Post Title Edit Box
- Dynamically create/remove terms in taxonomy when custom post type is published/trashed
- Pagination Custom post type
- custom post type index page
- How to keep a check box in custom meta box for custom post type checked by default for add new post?
- Disable feeds for specific custom post types
- Community and User Generated Content Website: Have been thinking about Drupal but leaning on WordPress heavily
- Using date stored as custom field to filter posts displayed in admin
- Custom posts filters in admin
- Check Title Unique Or Not and If not error message and dont save
- 1 day after custom date change post status to draft
- Menu Multiple Taxonomies
- remove child post from custom post type archive
- Add Tags to custom post type
- Query that joins the postmeta table twice
- Multiple content sections on a custom post
- Unable to get paginate_links working with a custom query [duplicate]
- Different permalink for CPT and regular Posts/Pages but why?
- How can I display an archive of only one category of my custom post type?
- WordPress as Wishlist Application
- Open div inside a custom post-type with Fancybox
- Save metadata as a timestamp, display as a “pretty” date
- Display all posts in main category and 1 subcategory
- uploading images to specified directories
- Can I search only some of the fields of a custom post type?
- WP_Query order by custom field, then randomly order some of results
- Display a CPT based on a metabox selection
- Next and Previous Posts of Same Parent
- Save the post parent in a custom post type in Gutenberg
- Dynamic template for single custom post
- Customize Custom Post Type URL
- My CPT won’t display no matter what I do
- Create another comment system for CPT
- menu link to custom post_type?
- Custom Taxonomy Not Showing in Front-End When Outputting a Custom Post Type with WP_Query()
- Custom query for custom post_type
- Adding custom field values to wp_list_pages
- Custom columns doesn’t appear in custom post type
- How to use next_posts_link/previous_posts_link for custom post types paginate?
- How to insert data into meta box from another plugin?
- Generate new post from email
- YOAST SEO won’t work on custom post type archive [closed]
- CPT Taxonomy As Archive Page – Error 404
- Can a custom post type be used as a ‘parent’ on a normal page?
- Methods for development wordpress themes [closed]
- unapprove comments on custom post type
- Custom post type specific category box
- Making a form for user to add new custom post with custom taxonomies and custom fields
- How can I increase the post count for custom post types only?
- Custom post type pagination error
- CPT: Enable Gutenberg, but disable editor field
- Publish box in CPT remove ‘edit’ link
- How do I troubleshoot pre_get_posts with Debug Bar?
- custom post template design with dropdown option
- How to only get the content of post page while looping?
- Staggering featured post using ‘sticky’
- Delete Custom Posts & Attachments
- Pagination for custom query returns 404
- How can I get the last 5 element of this tax query?
- How to save post title before publish?
- WooThemes – Vendors / Bookings – Allow Vendors to manage resources
- Metaboxes in Loop
- order taxonomy alphabetical
- Query breaking with ‘posts_per_page’ => -1
- Custom post type archive page not showing on archive-posttype.php
- Implement post status update as frontend news announcement
- Custom Post Type Organisation – Taxonomies, Categories and Pages
- Expandable WordPress content (text) inside a post
- Exclude categories For Custom post types
- Custom Post Types and rewrite rules – One CPT works and a cloned one doesn’t
- Sort a custom post type loop by a custom taxomomy instead of chronologically
- Filter CPT based on meta box value using Flexible Posts widget?
- Custom Post Type supports author
- Add custom taxonomies as class names to an archive page of custom post types
- WordPress URL Problems and Layout
- Custom post type & role issues
- Filter Custom post type by another Custom post type
- Show search for data extracted from metabox
- Retrieve a post with its ACF repeater fields in wordpress
- Issue displaying multiple TinyMCE editors with WPAlchemy
- Default WordPress Query for a Specific Custom Post Type URL
- using jetbooking for multiple custom post types