WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] is_category() and is_tag() : how to get the category then

[Resolved] is_category() and is_tag() : how to get the category then

  • Imagine
    You’re on a website, and it’s currently showing a category page.

    Thus, is_category() returns true…
    ==> Question: how to get THE category which is being displayed?

    Imagine
    You’re on a website, and it’s currently showing a tag page.

    Thus, is_tag() returns true…
    ==> Question: how to get THE tag(s) which is/are being displayed?

    Noobie question but I need it =)

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] is_category() and is_tag() : how to get the category then’ is closed to new replies.
Skip to toolbar