Forum Replies Created
-
AuthorPosts
-
Chip CooperParticipant
This reply is private.
Chip CooperParticipantsee attached…thank you!
Chip CooperParticipantHi 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 CooperParticipantIsn’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 CooperParticipantthanks so much…great!
Chip CooperParticipantThanks so much…that worked!
Chip CooperParticipantHi…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 CooperParticipantThank you…that worked!
Chip CooperParticipantthank 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 CooperParticipantHi 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