Category Page - Too Many Categories To Make A Page For Each One (2 posts)

    Posted 5 years ago #

    How would I go about making a category page so when you click a category on my blog post, it goes to a page that shows all posts in that category without making separate category-id.php pages?

    I created a general category.php file and based it off my index.php - but instead of calling all recent posts, I'd like for it to call all posts from the category the user clicked on.

    I have far too many categories to make a category-1.php, category-2.php file -- are there any solutions to this?

    Thanks in advance!

  2. Michael
    Forum Moderator
    Posted 5 years ago #

    it is the usual behaviour for category.php to call the posts from one category.

    if yours does it different, it might help if you could paste the code of your category.php into a http://wordpress.pastebin.com/ and post the link to it here.

    someone might have a look at it and might have some suggestions.

    also, a link to your site might help to illustrate your problem.

Topic Closed

This topic has been closed to new replies.

About this Topic