Home › Forums › Ticket Products › Community Tickets › Change title of RSVP button with Say What
- This topic has 9 replies, 2 voices, and was last updated 6 years, 7 months ago by Laura.
-
AuthorPosts
-
September 14, 2017 at 8:02 am #1349194LauraParticipant
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
September 14, 2017 at 9:08 am #1349222AndrasKeymasterHey 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,
AndrasSeptember 15, 2017 at 2:02 am #1349608LauraParticipantIt 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.
September 15, 2017 at 8:21 am #1349703AndrasKeymasterHi,
“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
September 15, 2017 at 8:28 am #1349711AndrasKeymasterI just tested this and it worked on my test site.
A.
September 18, 2017 at 1:27 am #1350532LauraParticipantAh, 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 🙂
September 18, 2017 at 3:11 am #1350561AndrasKeymasterIt’s there in my previous post as well. 😉
The text domain for “RSVP Now!” is
event-tickets
and the context islist view rsvp now ticket button
.You might need to enter the context as well for this to make it work.
A.
September 18, 2017 at 7:52 am #1350668LauraParticipantSorry I totally missed that part of your post!
All working fine now. Thank you so much for your help 🙂
September 19, 2017 at 5:07 am #1351044AndrasKeymasterYou 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,
AndrasPS: 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!
-
AuthorPosts
- The topic ‘Change title of RSVP button with Say What’ is closed to new replies.