• Resolved ganesh.india

    (@ganeshindia)


    hello….i would like to get any category name on single.php ie on single post.

    it can be done using <?php the_category(‘, ‘); ?> function but it contains a link over it.

    as on archives page <?php single_cat_title(); ?>, this function works absolutely correct and give me the category title only and it doesn’t contains any hyperlink.

    Is it possible on single.php page that i get only the category name nothing else….no hyperlink…

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to get simple category name’ is closed to new replies.