Hi alchymyth
The code above really helped me so thanks very much
Does anyone know what the equivalent code would be to achieve the same thing on a single post page i.e. get the category slug of the category which the current post is within?
Thanks again
john
Thanks for your reply. Yeah I’ve looked at several version control plugins but they don’t really do what I’m after