Changing the label of ‘date’ in single event view

Home Forums Calendar Products Events Calendar PRO Changing the label of ‘date’ in single event view

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #77848
    unaoc
    Participant

    Hey guys,
    Is there a way to change the “Date:” label in single event view? Some of the “events” that we post are actually calls for applications, so when that category is checked off we want it to say ‘deadline’ instead of ‘date’.

    In 2.x we were able to do this with a conditional statement in the single event view template override, but that won’t work now that everything is obscured behind tribe_events_single_event_meta(). We were able to reinstate most of our 2.x tweaks using things like tribe_set_meta_label(), but tribe_set_meta_label( ‘tribe_event_date’, ‘Deadline:’ ) doesn’t seem to do anything. Is there a simple way to accomplish this without removing the call to tribe_events_single_event_meta() and retrieving each meta field individually?

    Thanks!

    #77966
    Julie Kuehl
    Participant

    Hi Aaron,

    Have you seen our tutorial on changing the Venue / Organizer labels? (https://tri.be/relabeling-the-venueorganizer-sections-in-single-event-view/) It’s perhaps not exactly copy and paste in this case, but does it give you enough direction to make the changes you need?

    — Julie

    #78174
    unaoc
    Participant

    Yup, that was just what I needed. All I had to do extra was plug ‘Date:’ and ‘Deadline:’ into the code, and put the add_filter() call inside of a conditional statement.
    Thanks for your help, Julie!

    #78178
    Kelly
    Participant

    Fantastic! We appreciate you letting us know, Aaron. 🙂

    By the way if you have a minute or two, we will love it if you would write a few words for us here :
    http://wordpress.org/support/view/plugin-reviews/the-events-calendar?filter=5

    Thanks in advance. 🙂

    #982646
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Changing the label of ‘date’ in single event view’ is closed to new replies.