How can i display what category a post belong to ?
-
while visiting a single post, i want to display category name in the page title, i tried to use
the_category(', ')
but it is starts displaying complete link in the header liek<a href =".... >
what tag can i use to extract just category name ?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How can i display what category a post belong to ?’ is closed to new replies.