| Server IP : 104.21.25.182 / Your IP : 216.73.217.68 Web Server : Apache System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64 User : nobi37te ( 1003) PHP Version : 8.2.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/nobi37te/www/wp-content/themes/buddyboss-theme/tribe-events/day/ |
Upload File : |
<?php
/**
* Day View Single Event
* This file contains one event in the day view
*
* Override this template in your own theme by creating a file at [your-theme]/tribe-events/day/single-event.php
*
* @version 4.5.11
*
*/
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
$venue_details = tribe_get_venue_details();
// Venue microformats
$has_venue = ( $venue_details ) ? ' vcard' : '';
$has_venue_address = ( ! empty( $venue_details['address'] ) ) ? ' location' : '';
// The address string via tribe_get_venue_details will often be populated even when there's
// no address, so let's get the address string on its own for a couple of checks below.
$venue_address = tribe_get_address();
?>
<div class="bs-tribe-events-col bs-tribe-events-col-first">
<!-- Event Image -->
<?php if (has_post_thumbnail( ) ) {
echo tribe_event_featured_image( null, 'medium' );
} else {
echo '<div class="bs-events-post-placeholder"></div>';
}
?>
</div>
<div class="bs-tribe-events-col bs-tribe-events-col-last">
<div class="bs-event-heading">
<div class="tribe-event-schedule-short">
<div class="bs-schedule-short-date">
<span class="bs-schedule-short-m"><?php echo tribe_get_start_date(null, true, 'M'); ?></span>
<span class="bs-schedule-short-d"><?php echo tribe_get_start_date(null, true, 'j'); ?></span>
</div>
</div>
<div class="tribe-event-schedule-long">
<div class="bs-tribe-events-single-heading">
<!-- Schedule & Recurrence Details -->
<div class="tribe-updated published time-details">
<?php echo tribe_events_event_schedule_details(); ?>
</div>
<!-- Event Title -->
<?php do_action( 'tribe_events_before_the_event_title' ) ?>
<h2 class="tribe-events-list-event-title summary">
<a class="url" href="<?php echo esc_url( tribe_get_event_link() ); ?>" title="<?php the_title_attribute() ?>" rel="bookmark">
<?php the_title() ?>
</a>
</h2>
<?php do_action( 'tribe_events_after_the_event_title' ) ?>
<!-- Event Meta -->
<?php do_action( 'tribe_events_before_the_meta' ) ?>
<div class="tribe-events-event-meta <?php echo esc_attr( $has_venue . $has_venue_address ); ?>">
<?php if ( $venue_details ) : ?>
<!-- Venue Display Info -->
<div class="tribe-events-venue-details">
<?php
$address_delimiter = empty( $venue_address ) ? ' ' : ', ';
// These details are already escaped in various ways earlier in the code.
echo implode( $address_delimiter, $venue_details );
?>
</div> <!-- .tribe-events-venue-details -->
<?php endif; ?>
</div><!-- .tribe-events-event-meta -->
<?php do_action( 'tribe_events_after_the_meta' ) ?>
</div>
<?php if ( tribe_get_cost() ) : ?>
<div class="tribe-events-event-cost">
<span class="ticket-cost"><?php echo tribe_get_cost( null, true ); ?></span>
<?php
/** This action is documented in the-events-calendar/src/views/list/single-event.php */
do_action( 'tribe_events_inside_cost' )
?>
</div>
<?php endif; ?>
</div>
</div>
<!-- Event Content -->
<?php do_action( 'tribe_events_before_the_content' ) ?>
<div class="tribe-events-list-event-description tribe-events-content description entry-summary">
<?php echo tribe_events_get_the_excerpt(); ?>
<a href="<?php echo esc_url( tribe_get_event_link() ); ?>" class="tribe-events-read-more" rel="bookmark"><?php esc_html_e( 'Find out more', 'buddyboss-theme' ) ?> »</a>
</div><!-- .tribe-events-list-event-description -->
<?php
do_action( 'tribe_events_after_the_content' );
?>
</div>