Can’t retrieve categories for events

Home Forums Calendar Products Events Calendar PRO Can’t retrieve categories for events

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1275810
    jasonmcartor
    Participant

    I’ve been trying to retrieve the category of my events (I have called them Clinics & Camps) and can’t seem to pull any category term for any event page. Here’s some code I’ve been using to test this – http://snippi.com/s/6fj0pgw . You can see the output on this page – http://courage.flywheelsites.com/clinic-camp/iowa-ortho-physio-7th-annual-charity-golf-classic-benefiting-courage-league-sports/

    What I’m needing to do is change the header text on posts that match a certain category (either ID or name).

    Thanks!

    #1276495
    Cliff
    Member

    Hi, Jason.

    Thanks for sharing this code snippet. It’s using theĀ TribeEvents class, which was deprecated since version 3.10 (a long time ago).

    Please try replacing “TribeEvents” with “Tribe__Events__Main”

    Please let me know how this goes for you.

    #1287148
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Can’t retrieve categories for events’ is closed to new replies.