Hi John,
Thanks for reaching out to us!
You can add an image or icon to the list widget via CSS or you can edit the template files to do so. The CSS snippet would look like this:
.tribe-events-adv-list-widget > .hentry {
background-image: url(path_to_image);
background-repeat: no-repeat;
padding-left: 20px;
}
If you prefer to edit the view files, the main view for the list widget is located at ‘wp-content\plugins\events-calendar-pro\src\views\pro\widgets\list-widget.php’ and it uses the file ‘single-event.php’ in the ‘modules’ subfolder for each event in the list. Be sure to check our Themer’s guide to get the details of how to override these templates.
Regarding the amount of events shown by the widget, a bit of code is necessary. Just drop the following lines in your theme’s ‘functions.php’ file (located at wp-content/themes/your-theme/):
add_filter('widget_display_callback', 'increase_event_widget_limit', 10, 2);
function increase_event_widget_limit(array $instance, $widget) {
if (is_a($widget, 'Tribe__Events__Pro__Advanced_List_Widget')) {
$instance['limit'] = 30; // change the amount of events here
}
return $instance;
}
Please let me know if there’s anything else I can help you with,
Best,
Nico