HEX
Server: Apache/2.4.25
System: Linux ion14 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64
User: (10087)
PHP: 7.4.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,system, exec, shell_exec, passthru, popen, proc_open
Upload Files
File: /home/www/web115/wordpress/wp-content/themes/osmosis/tribe-events/modules/meta/venue.php
<?php
/**
 * Single Event Meta (Venue) Template
 *
 */

if ( ! tribe_get_venue_id() ) {
	return;
}
$phone = tribe_get_phone();
$website = tribe_get_venue_website_link();
?>

<div class="grve-tribe-events-meta-group grve-tribe-events-meta-group-venue">
	<?php if ( is_single('tribe_events') ) { ?>
	<h5 class="grve-title"> <?php echo tribe_get_venue_label_singular(); ?> </h5>
	<?php } else { ?>
	<h5 class="grve-title"> <?php echo tribe_get_venue(); ?> </h5>
	<?php } ?>

	<ul>
		<?php do_action( 'tribe_events_single_meta_venue_section_start' ) ?>
		<?php if ( is_single('tribe_events') ) { ?>
		<li>
			<span class="author fn org"> <?php echo tribe_get_venue(); ?> </span>
		</li>
		<?php } ?>

		<?php
		// Do we have an address?
		$address = tribe_address_exists() ? '<address class="grve-tribe-events-address">' . tribe_get_full_address() . '</address>' : '';

		// Do we have a Google Map link to display?
		$gmap_link = tribe_show_google_map_link() ? tribe_get_map_link_html() : '';
		$gmap_link = apply_filters( 'tribe_event_meta_venue_address_gmap', $gmap_link );

		// Display if appropriate
		if ( ! empty( $address ) ) {
			echo '<li>' . "$address" . '</li>';
		}
		if ( ! empty( $gmap_link ) ) {
			echo '<li>' . "$gmap_link" . '</li>';
		}
		?>

		<?php if ( ! empty( $phone ) ): ?>
			<li>
				<span> <?php esc_html_e( 'Phone:', 'osmosis' ); ?> </span>
				<div class="tel"> <?php echo wp_kses_post( $phone ); ?> </div>
			</li>
		<?php endif ?>

		<?php if ( ! empty( $website ) ): ?>
			<li>
				<span> <?php esc_html_e( 'Website:', 'osmosis' ); ?> </span>
				<div class="url"> <?php echo wp_kses_post( $website ); ?> </div>
			</li>
		<?php endif ?>

		<?php do_action( 'tribe_events_single_meta_venue_section_end' ); ?>
	</ul>
</div>