Change title of RSVP button with Say What

Home Forums Ticket Products Community Tickets Change title of RSVP button with Say What

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1349194
    Laura
    Participant

    I don’t have access to edit my core theme so I’ve been (successfully) changing strings within the various MT plugins using Say What as was recommended. I’m trying to change the two buttons – one that says ‘confirm rsvp’ and one that says ‘rsvp now’ to say book now but I cannot find the correct text domain that Say What needs to change these.

    Could you point me in the right direction?

    Thanks

    #1349222
    Andras
    Keymaster

    Hey Laura,

    Thanks for getting in touch!

    The text domain for both strings is ‘tribe-events’.

    In case you still have issues getting it to work I can provide you with a snippet that can help change these (and most anything).

    Cheers,
    Andras

    #1349608
    Laura
    Participant

    It doesn’t seem to be working (see a test event here: https://beinghumanfestival.org/event/test/ and listing https://beinghumanfestival.org/events/) with the tribe-events text domain. Is there a context needed as well maybe?

    I cannot add any code snippets in so I’m reliant on using the Say What plugin unfortunately (or another work-around!).

    Thank you.

    #1349703
    Andras
    Keymaster

    Hi,

    “Confirm RSVP” does not have a context. Might be the string is case sensitive and what I pasted here is exactly how it is in the code, event-tickets/src/view/tickets/rsvp.php, line 197

    <?php esc_html_e( 'Confirm RSVP', 'event-tickets' );?>

    “RSVP Now!” is with a context, it is the middle string in event-tickets\src\template-tags\tickets.php, line 230:

    $button_label = esc_html_x( 'RSVP Now!', 'list view rsvp now ticket button', 'event-tickets' );

    Hope this helps, let me know.

    Andras

    #1349711
    Andras
    Keymaster

    I just tested this and it worked on my test site.

    A.

    #1350532
    Laura
    Participant

    Ah, I hadn’t made it case sensitive so it’s working on the event page now.

    Could I ask what the domain is for the event listing page? As in https://beinghumanfestival.org/events/ – it currently says RSVP Now! (I’ve checked the real case this time!) and I’m trying to change that but can’t find the right text domain.

    Thank you 🙂

    #1350561
    Andras
    Keymaster

    It’s there in my previous post as well. 😉

    The text domain for “RSVP Now!” is event-tickets and the context is list view rsvp now ticket button.

    You might need to enter the context as well for this to make it work.

    A.

    #1350668
    Laura
    Participant

    Sorry I totally missed that part of your post!

    All working fine now. Thank you so much for your help 🙂

    #1351044
    Andras
    Keymaster

    You are very welcome Laura! Happy we managed to solve this.

    Since this is marked resolved I am going to close this ticket, but if you need anything else related to this topic or another please create a new ticket and we’ll be happy to help.

    Cheers,
    Andras

    PS: If you like our plugins, and you didn’t yet do so 🙂 we would be happy to receive a review in the wordpress.org repository. Thanks!
    https://wordpress.org/support/view/plugin-reviews/the-events-calendar/
    https://wordpress.org/support/view/plugin-reviews/event-tickets/

    PS2: We’d be also grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. 🙂 If you can spare a few words, that’s even better. Doublethanks!

     

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Change title of RSVP button with Say What’ is closed to new replies.