This option allows you to use the above information for all additional attendee question fields. Please note: some events may have additional questions that you may still be required to answer in order to complete your registration.
to:
This option allows you to use the above information for all sponsor fields. PLEASE NOTE: YOU MUST USE A DIFFERENT NAME FOR EACH ANGLER, GUIDE, GUEST OR TABLE WORKER SO THEY CAN RECEIVE A BADGE AT THE VENUE FOR ENTRY INTO THE EVENT.
'This option allows you to use the above information for all additional registrant question fields. <span>( Please note that some events may have additional questions that you may still be required to answer in order to complete your registration. )</span>' => 'This option allows you to use the above information for all additional registrant question fields. <strong>PLEASE NOTE: YOU MUST USE A DIFFERENT NAME FOR EACH ANGLER, GUIDE, GUEST OR TABLE WORKER SO THEY CAN RECEIVE A BADGE AT THE VENUE FOR ENTRY INTO THE EVENT.</strong>',
To your strings array:
$strings = array(
'Attendee %d' => 'Registrant %d',
'Use Attendee #1\'s information for ALL attendees' => 'Use Registrants #1\'s information for ALL attendees',
'This option allows you to use the above information for all additional registrant question fields. <span>( Please note that some events may have additional questions that you may still be required to answer in order to complete your registration. )</span>' => 'This option allows you to use the above information for all additional registrant question fields. <strong>PLEASE NOTE: YOU MUST USE A DIFFERENT NAME FOR EACH ANGLER, GUIDE, GUEST OR TABLE WORKER SO THEY CAN RECEIVE A BADGE AT THE VENUE FOR ENTRY INTO THE EVENT.</strong>',
// Add some more strings here
);
This option allows you to use the above information for all additional attendee question fields. Please note: some events may have additional questions that you may still be required to answer in order to complete your registration.
I used the following from what you showed me before, but it did not seem to work:
// This is an array of original strings
// and what they should be replaced with
$strings = array(
‘Attendee Information’ => ‘Participant and Sponsorship Information’,
‘Attendee %d’ => ‘Registration %d’,
‘Use Attendee #1\’s information for ALL attendees’ => ‘Use Sponsor #1\’s Information for ALL Sponsor Information’,
‘This option allows you to use the above information for all additional attendee question fields. Please note: some events may have additional questions that you may still be required to answer in order to complete your registration.’ => ‘This option allows you to use the above information for all additional sponsor question fields. ALL ATTENDEE FIELDS MUST BE FILLED IN WITH DIFFERENT ATTENDEE NAMES, BUT CAN BE EDITED LATER.’,
// Add some more strings here
);
The actual text for that string contains placeholders for html tags. So it’s actually this:
This option allows you to use the above information for all additional attendee question fields. %sPlease note:%s some events may have additional questions that you may still be required to answer in order to complete your registration.
Ok. I used this and it didn’t work. Can you check my code? Thanks!
// This is an array of original strings
// and what they should be replaced with
$strings = array(
‘Attendee Information’ => ‘Participant and Sponsorship Information’,
‘Attendee %d’ => ‘Registration %d’,
‘Use Attendee #1\’s information for ALL attendees’ => ‘Use Sponsor #1\’s Information for ALL Sponsor Information’,
‘This option allows you to use the above information for all additional attendee question fields. %sPlease note:%s some events may have additional questions that you may still be required to answer in order to complete your registration.’ => ‘This option allows you to use the above information for all additional sponsor question fields. %sALL ATTENDEE FIELDS MUST BE FILLED IN WITH DIFFERENT ATTENDEE NAMES, BUT CAN BE EDITED LATER.%s’,
// Add some more strings here
);
The code seems fine but is lacking some context and has some formatting issues with being formatted into a block quote. The forums can be a tricky place to post code snippets which is why we ask everyone to post code to a pastebin or GitHub gist.
Here’s a different way to change that text that involves using a specific filter hook instead, that will also allow you to have more control over the markup:
The support post ‘Change text under button for copying primary attendee info’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.