A single link to multiple categories
-
I’m new to WordPress and I’m having some trouble finding a way to link to multiple categories (the link takes you to a page, similar to a standard blog page, where all the posts are listed.
I can make a simple link to a single category using this http://localhost/portal/?cat=29 however, I need the category to include more than one category.
Looking through the Codex I found this. If I understand it correctly, it would allow me to change what category(ies) are displayed on the default blog template, but I don’t want to make a broad structural change (I need flexibility).
I also found this in the Codex. If I understand it correctly, I would have to create category templates for every combination of categories I would need to have in a blog post page. That would be a lot of work, but more importantly it wouldn’t allow much flexibility since I would have to modify the code and create a template for each new category need.
I’ll close with a quick description of what I am working with. I have 10 departments, and each department has 3 areas (which are the same for each of the 10 departments). I will need to categorize posts with a department and one of the 3 areas. I then will need to link to a blog page that lists all the posts with particular department category and area only.
Using a plugin I could create new custom post types, but then I would have to create 10 template pages. It’s an answer, but requires more work (which is only bad because I’m not a php coder).
The topic ‘A single link to multiple categories’ is closed to new replies.