Custom Post Type using index.php instead of template
-
I created a custom post-type called projects. It displays the posts I entered in the admin panel perfectly. But uses the index.php instead of the template that I have assigned to the Projects page I created. If I name the page anything else other than projects, and use the same template it works fine. What am I missing?
This the file I used to create the custom post type, which is linked in my functions.php.
https://pastebin.com/zAVwwxnW
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom Post Type using index.php instead of template’ is closed to new replies.