I found a way to filter and customize the Google calendar link, but I see no way to apply a similar customization to the ical / outlook 365 links. Is there are a way to filter/customize the ical and outlook 365 add to calendar links?
Here is a function / filter I’ve added to pull in the excerpt instead of the full content, and remove any paragraph tags that get pulled into the event description.
function custom_tec_gcal_link_parameters( $gcal_params, $event ) {
// Get the event excerpt using tribe_events_get_the_excerpt
$event_excerpt = tribe_events_get_the_excerpt( $event->ID, null );
// Remove the <p> tags if present
$event_excerpt = preg_replace('/^<p>|<\/p>$/', '', $event_excerpt);
// Update the 'details' parameter in the Google Calendar link parameters
$gcal_params['details'] = $event_excerpt;
return $gcal_params;
}
add_filter( 'tec_views_v2_single_event_gcal_link_parameters', 'custom_tec_gcal_link_parameters', 10, 2 );
]]>.ep-event-performers .ep-event-performer { max-width: 225px; }
I would also like to enlarge the image with this value:
.ep-event-performers .ep-event-performer .ep-performer-img { width: 225px; height: 225px; }
With Chrome it works, but not when I put this value in the Custom CSS tab of your extension.
Could you help me ?
]]>.article #em-event-6 .em-item-image img {
width: 300px;
height: auto;
]]>since a view weeks, the featured image is no longer displayed in the single-event-view.
The checkbox for the image is checked and all templates are deactiveted.
It used to work but somehow – i guess because of an update – it’s not working anymore.
Please tell me what additional information you need or how i can fixe this problem.
Thanks a lot for your work and help!
]]>Here’s what I’m using:
I need help to change the image size for all the single event page on the website (link). For the moment, all photos are in panoramic format and I would like change for square format. Thank you for your help
]]>This information: https://theeventscalendar.com/knowledgebase/k/featured-images/#Customizing_the_featured_image_size
gives as advice to find the file and then find code something like:
the_post_thumbnail( 'medium');
However, in the featured image file I don’t find this code. Instead I find
https://www.beatstad-radio.nl/wp-content/uploads/2023/01/Event-image-size-2-medium.png
As you can see I have changed “full” to “medium” here, but it has no effect on the front end, even after clearing all conceivable caches.
What am I doing wrong? Can anybody help?
]]>Three different people have tried to figure out how to do a template overrides, but the template system is such a mess we can’t figure it out (/src/tribe-events, /src/tribe, /the-events-calendar/… and 10 other locations). And every element of the template is broken into files and spread around multiple directories.
The documentation itself is very unhelpful as well e.g. https://theeventscalendar.com/knowledgebase/k/customizing-template-files-2/ – and provides no examples or support.
Can you please tell us how to modify the Single Events template to add the location name to top and put the organizer and location data into a sidebar.
These kind of modifications should be trivial, but instead it is the most difficult thing.
Thank you.
]]>