I’m using a child theme for the Origin theme and created a category.php Category template copying it from archive.php, however it is being ignored by WordPress even when the code is identical to the Archive template.
To make sure there were no errors in the Category template page, I made the two templates identical and tested by temporarily removing the footer from either template – it affects category pages when I remove it from archive.php, and nothing happens when I remove it from category.php.
This suggests that there is no error in the loop and it may be something to do with how the theme looks for page templates (?).
Also, because Origin doesn’t come with a category.php, I tried including one in the parent theme folder and this didn’t fix anything.
Deactivating all plugins did nothing, so there is no interference there. All my other child theme files are working as expected.
Any help appreciated!
- The topic ‘category.php is being ignored’ is closed to new replies.