one post in multiple categories, Wich single template?
-
Hi all,
Whenever you submit a post in multiple categories which are styled differently there is a problem. The post is displayed with single.php which can see the categories in which the post exists but not the one it came from, at least I could not find a way.
Ofcourse we can use different single templates to style posts differently but when posted in multiple categories the one to use is selected by the system.
Other than styling I would like to show the category title and give a menu highlite.
Is there anyway to do this? Maybe pass a value from category.php to single.php or a global value which remembers the category?
We spent lots of time figuring this out but without result. On future projects tagging & taxonomy will providemore flexibility but for current projects there has to be a way.
Thanks!
- The topic ‘one post in multiple categories, Wich single template?’ is closed to new replies.