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