WordPress.org

Forums

what is the category of my page? (2 posts)

  1. artcoder
    Member
    Posted 1 year ago #

    My php is_category() is returning true. But how do I determine what category the current page is displaying?

  2. Carolina Nymark
    Member
    Posted 1 year ago #

    Perhaps this is what you are looking for?

    http://codex.wordpress.org/Function_Reference/get_the_category

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.