• Resolved ozgression

    (@ozgression)


    Hi Everyone,

    I am looking for a way to display a post’s single_cat_title on the homepage (Eaxctly how <?php single_cat_title(); ?> does in the archives).

    Each post only has one category, so any way of just outputting the post’s category name on the homepage would be great. How can I do this?

    FYI, <?php the_category(‘, ‘) ?> doesn’t do what I want, I do not want to link to the category, merely display the name of the category in text.

    Any help you could give me would be amazing. I have searched the support forums but haven’t found an answer as of yet.

    Thanks…

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘single_cat_title’ is closed to new replies.