custom post types Archive

custom post type not showing on archive.php and/or single.php pages in wordpress?

Custom post type are not appearing on archive page and single page. Even when using archive-post_type.php and single-post_type.php?  When you preview post it shows “not found” or “404 error” ? How to show custom post types? There may be a lot of reasons for custom posts not being shown. Here we are going to check

How to add custom post types in wordpress ?

What are custom post types in wordpress ? Custom post types are a way to manage posts in an efficient way. Suppose your website have different products like cars, bikes, bicycles etc. You post about these but you want them to be arranged in different formats on front end. You may create different archive page