Home › Forums › Back End › WordPress custom post types › Reply To: WordPress custom post types
Thank you @Alen. I created archive-{post-type}.php instead of page-{post-type}.php and it’s now working as I was looking for.
Now all the custom posts i created have the blog page and i also created single page for them like so, single-{post-type}.php.
Single page is working as expected for 3 custom post types but not for one and i am sure that i did exactly the same thing to create the single page for all of them.
If the post name is product, blog page is archive-product.php and single page is single-product.php then from archive-product.php it should go to single-product.php by default, right? but its not happening here.
Again, not sure whats going on.
Thanks,