Forum Replies Created
-
AuthorPosts
-
Chip Cooper
ParticipantThis reply is private.
Chip Cooper
Participantsee attached…thank you!
Chip Cooper
ParticipantHi Jennifer,
Yes, we’re only trying to show attendee names, nothing else…but in a clean format.
So far, we are separating with comma, but that puts a comma after the last name too.Current CSS is already assigning block attribute:
.tribe-attendees-list-item {
display: block;Chip Cooper
ParticipantIsn’t that php code the same as our css? It will still put comma after last name.
We’re just adding name to list of attendees…no avatar
Chip Cooper
Participantthanks so much…great!
Chip Cooper
ParticipantThanks so much…that worked!
Chip Cooper
ParticipantHi…that helped with the button…but there are still instances of “RSVP” on the page…please advise.
September 13, 2017 at 10:07 pm in reply to: Show attendees list (not just squares for avatars) #1348995Chip Cooper
ParticipantThank you…that worked!
Chip Cooper
Participantthank you…I’ve added this code to the bottom of my functions.php file …but still seeing “RSVP”…see attached screen shot
function tribe_custom_theme_text_with_context ( $translation, $text, $context, $domain ) {
// Put your custom text here in a key => value pair
// Example: ‘Text you want to change’ => ‘This is what it will be changed to’
// The text you want to change is the key, and it is case-sensitive
// The text you want to change it to is the value
// You can freely add or remove key => values, but make sure to separate them with a comma
// This example changes the label “Venue” to “Location”, and “Related Events” to “Similar Events”
$custom_text = array(
‘RSVP’ => ‘Sign Up’,
);// If this text domain starts with “tribe-“, “the-events-“, or “event-” and we have replacement text
if( (strpos($domain, ‘tribe-‘) === 0 || strpos($domain, ‘the-events-‘) === 0 || strpos($domain, ‘event-‘) === 0) && array_key_exists($translation, $custom_text) ) {
$translation = $custom_text[$translation];
}
return $translation;
}
add_filter(‘gettext_with_context’, ‘tribe_custom_theme_text_with_context’, 21, 4);Chip Cooper
ParticipantHi Josh…and Events Ticket plugin works with or without Events Calendar Pro…correct? It can be standalone or used in conjunction with the calendar? thanks so much!
-
AuthorPosts
