🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-07 05:35:06 | PHP 8.2.32
📂
/ (Root)
/
home
/
eliteewa
/
staging.eliteewallet.com
/
wp-content
/
themes
/
avas
/
tribe-events
📍 /home/eliteewa/staging.eliteewallet.com/wp-content/themes/avas/tribe-events
🔄 Refresh
✏️
Editing: single-event.php
Writable
<?php /** * Single Event Template * A single event. This displays the event title, description, meta, and * optionally, the Google map for the event. * * Override this template in your own theme by creating a file at [your-theme]/tribe-events/single-event.php * * @package TribeEventsCalendar * @version 4.6.19 * */ if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } global $tx; $events_label_singular = tribe_get_event_label_singular(); $events_label_plural = tribe_get_event_label_plural(); $event_id = get_the_ID(); /** * Allows filtering of the single event template title classes. * * @since 5.8.0 * * @param array $title_classes List of classes to create the class string from. * @param string $event_id The ID of the displayed event. */ $title_classes = apply_filters( 'tribe_events_single_event_title_classes', [ 'entry-title' ], $event_id ); $title_classes = implode( ' ', tribe_get_classes( $title_classes ) ); /** * Allows filtering of the single event template title before HTML. * * @since 5.8.0 * * @param string $before HTML string to display before the title text. * @param string $event_id The ID of the displayed event. */ $before = apply_filters( 'tribe_events_single_event_title_html_before', '<h1 class="' . $title_classes . '">', $event_id ); /** * Allows filtering of the single event template title after HTML. * * @since 5.8.0 * * @param string $after HTML string to display after the title text. * @param string $event_id The ID of the displayed event. */ $after = apply_filters( 'tribe_events_single_event_title_html_after', '</h1>', $event_id ); /** * Allows filtering of the single event template title HTML. * * @since 5.8.0 * * @param string $after HTML string to display. Return an empty string to not display the title. * @param string $event_id The ID of the displayed event. */ $title = apply_filters( 'tribe_events_single_event_title_html', the_title( $before, $after, false ), $event_id ); ?> <div class="container space-content"> <div class="row"> <div id="tribe-events-content" class="tribe-events-single col-lg-8 col-md-8 col-sm-12"> <p class="tribe-events-back"> <a href="<?php echo esc_url( tribe_get_events_link() ); ?>"> <?php printf( '« ' . esc_html_x( 'All %s', '%s Events plural label', 'avas' ), $events_label_plural ); ?></a> </p> <!-- Notices --> <?php tribe_the_notices() ?> <!-- Event header --> <div id="tribe-events-header" <?php tribe_events_the_header_attributes() ?>> <!-- Navigation --> <nav class="tribe-events-nav-pagination" aria-label="<?php printf( esc_html__( '%s Navigation', 'avas' ), $events_label_singular ); ?>"> <ul class="tribe-events-sub-nav"> <li class="tribe-events-nav-previous"><?php tribe_the_prev_event_link( '<span>«</span> %title%' ) ?></li> <li class="tribe-events-nav-next"><?php tribe_the_next_event_link( '%title% <span>»</span>' ) ?></li> </ul> <!-- .tribe-events-sub-nav --> </nav> </div> <!-- #tribe-events-header --> <?php while ( have_posts() ) : the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <!-- Event featured image, but exclude link --> <?php //echo tribe_event_featured_image( $event_id, 'full', false ); ?> <?php if($tx['events_single_featured_image']): ?> <div class="tx-single-event-featured-image-wrap"> <?php if ( has_post_thumbnail() ) : the_post_thumbnail(); endif; ?> <div class="tx-single-event-title-wrap"> <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> <div class="tribe-events-schedule tribe-clearfix"> <?php echo tribe_events_event_schedule_details( $event_id, '<h2>', '</h2>' ); ?> <?php if ( tribe_get_cost() ) : ?> <span class="tribe-events-divider">|</span> <span class="tribe-events-cost"><?php echo tribe_get_cost( null, true ) ?></span> <?php endif; ?> </div> </div><!-- tx-single-event-title-wrap --> </div><!-- tx-single-event-featured-image-wrap --> <?php endif; ?> <!-- Event content --> <?php do_action( 'tribe_events_single_event_before_the_content' ) ?> <div class="tribe-events-single-event-description tribe-events-content"> <?php the_content(); ?> </div> <!-- .tribe-events-single-event-description --> <?php do_action( 'tribe_events_single_event_after_the_content' ) ?> <!-- Event meta --> <?php do_action( 'tribe_events_single_event_before_the_meta' ) ?> <?php //tribe_get_template_part( 'modules/meta' ); ?> <?php do_action( 'tribe_events_single_event_after_the_meta' ) ?> </div> <!-- #post-x --> <?php if ( get_post_type() == Tribe__Events__Main::POSTTYPE && tribe_get_option( 'showComments', false ) ) comments_template() ?> <?php endwhile; ?> <!-- Event footer --> <!-- #tribe-events-footer --> </div><!-- #tribe-events-content --> <div class="col-lg-4 col-md-4 col-sm-12"> <?php tribe_get_template_part( 'modules/meta' ); ?> </div> </div> </div>
💾 Save Changes
❌ Cancel