WordPress.org

Ready to get started?Download WordPress

Forums

How can i display what category a post belong to ? (2 posts)

  1. umair
    Member
    Posted 6 years ago #

    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 ?

  2. sasch9r
    Member
    Posted 6 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.