How do I create a CPT archive page that lists all my CPTS like archive.php does for my categories?
My CPT is called “profile” and so I copied the archive.php file into my child theme and renamed it archive-profile.php but it ain’t doin’ nutin’.
WP says this…
If your custom post type were ‘product’, and/or query_var = “product”, WordPress would look for archive-product.php to display the archive of posts.
But when I go to mydomain.com/profile it doesn’t list them like mydomain.com/category lists my normal posts. Instead I get a 404.