Hi there Josh,
Thanks for getting in touch! I can help you here 🙂
Hopefully the Venue & Organizers shortcodes plugin comes packed with some handy filter to change the markup! Paste the snippet below in your theme theme’s (or child theme’s) functions.php file:
/* Tribe, customize venue/organizer shortcodes markup (https://theeventscalendar.com/knowledgebase/listing-venues-and-organizers/) */
function tribe_venue_organizer_list_change_opening_tag ( $opening_tag, $atts ) {
$opening_tag = '<div class="tec list ' . $atts['post_type'] . '">';
return $opening_tag;
}
add_filter( 'TEC_VenueOrganizer_List.list.open', 'tribe_venue_organizer_list_change_opening_tag', 10, 2 );
function tribe_venue_organizer_list_change_closing_tag ( $closing_tag, $atts ) {
return '</div>';
}
add_filter( 'TEC_VenueOrganizer_List.list.close', 'tribe_venue_organizer_list_change_closing_tag', 10, 2 );
function tribe_venue_organizer_list_change_item_tag ( $item, $atts ) {
$item = str_replace ( '<li', '<div' , $item );
$item = str_replace ( '', '</div>' , $item );
return $item;
}
add_filter( 'TEC_VenueOrganizer_List.list.item', 'tribe_venue_organizer_list_change_item_tag', 10, 2 );
Feel free to modify as you see fits best your needs 🙂
Cheers,
Nico