Category templates not loading
-
Greetings, programs!
I recently migrated a single WordPress install into multisite and for the most part, the transition was smooth. However, I have two sets of pages, listings posts in categories that are no longer working like they did before the migration.
I have 3 category templates set up.
category.php
category-blog.php
category-research-center.phpThis page should load category-blog.php : http://stoppredatorygambling.org/blog/category/blog/business-model/
This page should load category-research-center.php: http://stoppredatorygambling.org/blog/category/research-center/addiction/
But neither do as they’re supposed to. They’re both loading category.php
Now, the weird thing is that http://stoppredatorygambling.org/blog/category/blog/ lists all pages in the “blog” category and should load category-blog.php and it does. On each of the pages I have listed above, the category list in the sidebar lists child categories of the top-level categories “research-center” and “blog” so it would appear that when you click on a child category of either page, the category template defaults to category.php instead of the template for its parent category.
I’ve been struggling with this for a couple of days. I really need to get out from under this problem before I lost my mind.
- The topic ‘Category templates not loading’ is closed to new replies.