Support » Themes and Templates » category pages don’t use category.php

  • Resolved yolfer


    Hi All,

    I’m a new wordpress user so apologies in advance if this is documented somewhere.

    I’m using a custom theme, and I noticed that the categories pages are broken (eg, they just display every post, not just the posts for that category.

    I found out that is because my theme directory doesn’t have a category.php file, so I added one.

    My problem is that the “Template Hierarchy” still skips over category.php and defaults to index.php.

    Does anyone know how I can get my category pages to recognize the category.php file?


Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘category pages don’t use category.php’ is closed to new replies.