Hello,
None of my events will have a Venue though they will have an address. I found code from another thread to hide the “Unnamed Venue” from the main page. The code I used is below, I now need to hide the “Unnamed Venue” from the single-page event listing. Can you provide a similar code to use and let me know where I would place it?
add_filter( ‘tribe_event_pro_meta_venue_name’, ‘hide_unnamed_venues_from_meta’ );
function hide_unnamed_venues_from_meta( $html ) {
if ( false !== strpos( $html, ‘Unnamed Venue’ ) ) return ”;
return $html;
}