get category coding help
-
Hi all,
Im struggling with some code and was hoping for some help…
In an archive page, I would like each post to display its title.
However, for posts that are in certain categories, I would like to also show their category with a hyphen before it.For example:
Photo of Cat – Portrait
Photo of Man – Landscapes
Off to Barbados
Photo of Dog – LandscapeIn the above crude example of an archive page list, my post about barbados is in the ‘news’ category but i would prefer that not to be shown on the archive page.
Any help greatly appreciated,
Dan
- The topic ‘get category coding help’ is closed to new replies.