Add start time to event title…

Home Forums Calendar Products Events Calendar PRO Add start time to event title…

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1345096
    Joseph
    Participant

    Regarding this snippet: https://theeventscalendar.com/knowledgebase/add-start-time-to-event-title/

    Is it possible to modify this so that it only shows times for certain categories and non-all day events?

    Thanks.

    #1345726
    Victor
    Member

    Hi Joseph!

    Thanks for reaching out to us! I’d be happy to help you with this topic 🙂

    Yes, you can modify that code snippet and add a conditional that verifies the category before printing the title.

    You can make use of the tribe_get_event_cat_slugs() helper function inside of it to fetch the categories slugs for the event and then use that output to build the conditional.

    I hope it helps! Let me know if you have other questions about it.

    Best,
    Victor

    #1356226
    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 ‘Add start time to event title…’ is closed to new replies.