Hi, I was wondering if there is any short snippet of code that allows you to display the current category you are in but also displays a hyphen in the middle, like you find with the permalinks. So if i was in the category “Music News” I could echo out the word “music-news”. Any help would be greatly appreciated!!!
@ganners Thanks for your reply but for some reason it is now showing anything, not even in the source.
@alchymyth That snippet of code works great!, another quick question is, if i am on the homepage for example, it shows “home” or on the search page it displays “Search”, assuming be a if and else statement? (sorry i am learning as go along)