Home › Forums › Ticket Products › Event Tickets Plus › Change "Buy Now" Label
- This topic has 7 replies, 4 voices, and was last updated 8 years, 1 month ago by
Rich.
-
AuthorPosts
-
January 23, 2018 at 11:16 am #1433859
Rich
ParticipantSimple question, but just spent way too much time searching for an answer on your site. For what I do, the “Buy Now” label on tickets seems tacky. I want to change it to “RSVP”.
How?
January 24, 2018 at 3:28 pm #1435232Barry
MemberHi Rich,
You could apply a small snippet of code like this one:
add_filter( 'tribe_tickets_buy_button', function( $html ) { return str_replace( 'Buy Now!', 'RSVP', $html ); } );This could be added either to a custom plugin (preferred) or else to your theme’s functions.php file.
Does that help?
January 27, 2018 at 5:59 pm #1438142Shayne
ParticipantBarry, I placed that code in my custom CSS and it gives a bunch of error messages. Are you sure that code is correct???
January 29, 2018 at 10:03 am #1439019Rich
ParticipantI appreciate the suggestion, but I’m really hoping there is a simpler solution. Something like a “language” file where I can simply edit the titles on the buttons.
January 29, 2018 at 11:52 am #1439111Liz Koch
ParticipantYes, this code worked! Shayne, it goes in the Theme function file, not in the CSS code.
February 5, 2018 at 4:01 pm #1444643Barry
MemberHey gang!
Sorry for the delay, I’m afraid most of the team were unavailable over the last 7 days.
Liz is correct, as I noted the code should not go inside your custom CSS but should be added either to a custom plugin (preferred) or else to your theme’s functions.php file.
I appreciate the suggestion, but I’m really hoping there is a simpler solution. Something like a “language” file where I can simply edit the titles on the buttons.
You can edit the language files if you wish to do so, but I’d suggest that is a little more complicated than what I already proposed 🙂
A plugin such as Say What might fit your needs, as an easy alternative, though.
February 27, 2018 at 8:35 am #1464967Support Droid
KeymasterHey 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 -
AuthorPosts
- The topic ‘Change "Buy Now" Label’ is closed to new replies.
