Conflating page with category?
-
Hope someone can help.
Is there a way I can have (some) WP categories, link direct to a WP page, rather than a list of posts in that category (as would happen normally)?
Let me explain my use-case / what I want to achieve…
I have a number of products (actually, mobile games) on my site. Each game is assigned a category, e.g. “Asteroids”.
There is a main product page for each game, as well as a number of related blog posts, such posts will be assigned a category, e.g. “Asteroids”.
When a user clicks on a category link, I want them to go to the main product page; e.g. mysite.com/games/asteroids.
I have achieved this in the past, though my solution is probably not too elegant, and I’m hoping there may be a better way to achieve the same result?
What I did before, was basically create templates for each game, e.g. “category-asteroids.php”, which renders out all the game specific data, followed by posts in category.
What do people think? Is there a better solution to achieve the same result? It’s just the getting categories to link to a page bit, that I’m struggling with.
Thanks.
- The topic ‘Conflating page with category?’ is closed to new replies.