Support » Fixing WordPress » How to display first category

  • Resolved gillsans

    (@gillsans)


    How to display first category for a blog post?

    At the top of my post I would like to display 1 category for the post. If I use <?php the_category(‘, ‘) ?> it displays all the categories for the post.

    Any info would be much appreciated.

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to display first category’ is closed to new replies.