Custom post type query and pagination gives 404 error

You can’t have page name and slug of custom post type with same name – change one of them

Leave a Reply

Your email address will not be published. Required fields are marked *