The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Creating a category.php page that ONLY displays category posts (2 posts)

  1. kelp
    Posted 9 years ago #

    Before, when I clicked a category, it would just give me a 404 error. Now, I've created a category.php page in my themes folder with the exact same code as my index.php page. I THOUGHT it was automatically sort through and only find the category related posts, but instead it shows ALL posts regardless of category(it's just like the front page). Well, that's no surprise since I did copy it from the front page. How do I make my category.php only display posts in the same category?

  2. moshu
    Posted 9 years ago #

    Can we see it?

Topic Closed

This topic has been closed to new replies.

About this Topic