Conditional Statement for Community Events Pages

Home Forums Calendar Products Community Events Conditional Statement for Community Events Pages

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1316538
    NZIC
    Participant

    I’m just trying to work out a conditional statement for the community events pages (My Events and Add New Event).

    I’m using is_singular(‘tribe_events’) for the calendar posts, which works perfectly – but it doesn’t pick up the Community Events pages.

    Hoping you can help.

    Thanks,
    Karen

    #1316684
    Jennifer
    Keymaster

    Hi Karen,

    Thanks for reaching out!

    Try using tribe_is_community_edit_event_page() or tribe_is_community_my_events_page() which can be found in our list of functions.

    We also have a quick list here of functions that you might find useful.

    Let me know if that helps!

    Thanks,

    Jennifer

    #1327000
    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 ‘Conditional Statement for Community Events Pages’ is closed to new replies.