Home › Forums › Ticket Products › Event Tickets Plus › New request for limiting tickets to 1
- This topic has 5 replies, 2 voices, and was last updated 8 years, 10 months ago by
Lisa.
-
AuthorPosts
-
June 20, 2017 at 4:55 am #1300412
Lisa
ParticipantHello,
Same request as past visitors (https://theeventscalendar.com/support/forums/topic/same-request-for-1-ticket-limit/ and https://theeventscalendar.com/support/forums/topic/event-tickets-8/) — I cannot see the snippet suggested for the functions.php in either of these previous tickets (not sure why that happens after a ticket is closed, but defeats the purpose of spending time searching through and reading past entries!).
Can you please repost here?
June 20, 2017 at 5:56 pm #1300826Geoff B.
MemberGood evening and welcome back!
Thank you for reaching out to us.
I would love to help you with this topic.You could apply the following snippet in the functions.php file of your theme (without the PHP tag at the top): https://gist.github.com/GeoffEW/075787fd6b427e1c47be0d756ca5b26c
Let me know how that goes.
Best regards,
Geoff B.June 20, 2017 at 6:45 pm #1300855Lisa
ParticipantThis works: http://www.thestateclub.org/event/sample-event
Is it possible to change the text that follows when the fields appear from “Attendee 1” to something like “Member Information”?
Thanks!
-LJJune 21, 2017 at 2:51 pm #1301367Geoff B.
MemberGood evening Lisa,
I am super stoked that worked.
To answer your follow-up question, the short answer is yes, you can change pretty much any string.
There are a couple of ways to go about doing that:
- Using a customized language file
- Using a snippet in your WordPress theme’s functions.php file
I highly recommend reading the 3 following articles on translation to use approach number 1:
- https://theeventscalendar.com/knowledgebase/translating-the-events-calendar/
- https://theeventscalendar.com/knowledgebase/how-to-override-plugin-language-files/
- https://theeventscalendar.com/knowledgebase/incomplete-translations/
Basically, you will most likely need to create a english customized language file.
Look for the Attendee %1$s string in Event Tickets language files.The second approach will require you to tweak and apply the following snippet in the functions.php file of your theme (without the PHP tag at the top): https://gist.github.com/GeoffEW/ff7e7fc35abb92beaa89a780189bd4a4
Let me know if that helps.
Have a great day!
Geoff B.
July 13, 2017 at 9:35 am #1320633Support 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 ‘New request for limiting tickets to 1’ is closed to new replies.
