diff --git a/templates/event-list.php b/templates/event-list.php index 014988a3..6a5d7625 100644 --- a/templates/event-list.php +++ b/templates/event-list.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.6.15 + * @version 2.6.19 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly @@ -172,8 +172,11 @@ $identifier = uniqid( 'eventlist_' ); if ( sp_column_active( $usecolumns, 'season' ) ) echo '' . __( 'Season', 'sportspress' ) . ''; - if ( sp_column_active( $usecolumns, 'venue' ) ) + if ( sp_column_active( $usecolumns, 'venue' ) ) { echo '' . __( 'Venue', 'sportspress' ) . ''; + }else{ + echo '' . __( 'Venue', 'sportspress' ) . ''; + } if ( sp_column_active( $usecolumns, 'article' ) ) echo '' . __( 'Article', 'sportspress' ) . ''; @@ -251,7 +254,6 @@ $identifier = uniqid( 'eventlist_' ); endif; echo ''; - echo ''.$event->post_title.''; $date_html = '' . get_post_time( 'Y-m-d H:i:s', false, $event ) . '' . apply_filters( 'sportspress_event_date', get_post_time( get_option( 'date_format' ), false, $event, true ), $event->ID ); @@ -307,7 +309,7 @@ $identifier = uniqid( 'eventlist_' ); echo '' . $teams_output . ''; } else { $title_html = implode( ' ', $team_logos ) . ' ' . $event->post_title; - if ( $link_events ) $title_html = ''; + if ( $link_events ) $title_html = '' . $title_html . ''; echo '' . $title_html . ''; } }