Support » Plugin: The Events Calendar » detecting categories

  • Resolved esme356


    I am using the calendar to show seasonal events. The Autumn page is here

    I use the following code to detect the current page category:
    if (tribe_get_text_categories() == ‘Autumn’)

    This works fine if I have events listed under Autumn but at some times of the year there will not be any in this category and I still need the page to know which category it is so it can display the correct title and intro text. Is there any way to do this?

    Many thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor GeoffBel


    Hey @esme356,

    First off, I would like to apologize for the delay answering.
    We are currently experiencing a higher level of requests than usual.

    Please rest assured that we are working hard at correcting this situation.
    We appreciate your patience while we try to normalize things.

    Thank you for reaching out.

    Just to set expectations, the scope of our support is mostly to get our customers started on the right track and to help them in case of issues. We unfortunately do not provide support for customization.

    With that in mind, you are more than welcome to browse our documentation, knowledge base and premium forums for an answer:

    Best regards,

    Geoff B.

    Plugin Contributor Courtney Engle Robertson


    Hey there! This thread has been inactive for a while so we’re going to go ahead and mark it Resolved. Please feel free to open a new thread if any other questions come up and we’d be happy to help. 🙂

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