Support » Themes and Templates » Category & Tag template best practices

  • I’m at the point where I have my custom page template to display all of my posts, but I’m now at the point where I’m trying to figure out the best way to filter posts by category and tag.

    For my blog posts I have about 10 categories and 10 tags.

    For my custom post type I have 4 categories.

    How should I proceed in filtering when a user clicks on a link? It currently defaults to index. I’m aware that I can make category.php and tag.php, but is that the correct way to display multiple categories and tags, or do I need to create a custom page like category-categoryname.php for each category?

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Category & Tag template best practices’ is closed to new replies.