WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to get the category in the single page?? (3 posts)

  1. nnanh01
    Member
    Posted 5 years ago #

    Hi all!

    In the single.php. How do I get the category that content the post in??

    Pls help!

    ThankS!

  2. MichaelH
    Member
    Posted 5 years ago #

    See the Template Tag, the_category(), and note that the WordPress Default theme has examples of usage in wp-content/themes/default/single.php.

  3. nnanh01
    Member
    Posted 5 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic