Change "Venue" to "Location"

Home Forums Calendar Products Events Calendar PRO Change "Venue" to "Location"

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #128557
    richardm
    Participant

    Where can I change the text “Venue” to “Location”? I managed to change “Tickets” to Register” but could not find where to make the other change.

    Thank you,
    Richard

    #129068
    Barry
    Member

    Hi Richard:

    Is this in the context of the frontend and is it just one or two areas, such as the venue entry on single event pages – or are you trying to change it in the admin environment (or a combination of these things)?

    Thanks!

    #129110
    richardm
    Participant

    Barry – Front end change only – purely for cosmetics reasons only. I want to change the word “Venue” to “Location” on this page (just below “Detail” and above “Register”):

    http://www.functiontofitness.com/event/nordic-walking-class-april-28-may-26/

    #129562
    Barry
    Member

    OK – can you try adding this code to your theme’s functions.php file?

    add_action( 'tribe_pre_get_view', 'change_custom_field_meta_label' );
    
    function change_custom_field_meta_label() {
    	tribe_set_meta_label( 'tribe_event_venue', 'NEW LABEL!', 'meta_group' );
    }

    Does that help? (Of course, change NEW LABEL! to ‘Location’ in this case, or whatever you prefer.)

    #129760
    richardm
    Participant

    Barry – Thanks for the code. Worked perfectly.

    #135065
    Barry
    Member

    Sweet!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Change "Venue" to "Location"’ is closed to new replies.