Pretty Permalinks do not use Category template for empty categories (1 post)

  1. GreenMage
    Posted 7 years ago #


    I am working on a personal theme and I've just switched to pretty permalinks, which are wonderful.

    However, I want the category page design to depend on a specific category, and it works, but only if a category has posts in it. If it is empty it seems to use index.php directly instead of my category.php template.

    With default permalinks this would have worked. I mean ?cat=3 would have displayed the category template in both cases.

    I really want it to work until I post something everywhere.

    Can someone please help me on this one?


Topic Closed

This topic has been closed to new replies.

About this Topic