Fix event list template
This commit is contained in:
@@ -312,7 +312,7 @@ $identifier = uniqid( 'eventlist_' );
|
||||
$date_html = '<a href="' . get_post_permalink( $event->ID, false, true ) . '" itemprop="url">' . $date_html . '</a>';
|
||||
}
|
||||
|
||||
echo '<td class="data-date" itemprop="startDate" content="' . esc_attr( mysql2date( 'Y-m-d\TH:iP', $event->post_date ) ) . '" data-label="' . esc_attr__( 'Date', 'sportspress' ) . '">' . wp_kses_post( $date_html ) . '</td>';
|
||||
echo '<td class="data-date" itemprop="startDate" content="' . esc_attr( mysql2date( 'Y-m-d\TH:iP', $event->post_date ) ) . '" data-label="' . esc_attr__( 'Date', 'sportspress' ) . '">' . wp_kses( $date_html, array( 'a' => array( 'href' => array(), 'itemprop' => array() ), 'date' => array() ) ) . '</td>';
|
||||
|
||||
// Check if the reverse_teams option is selected and alter the teams order
|
||||
if ( $reverse_teams ) {
|
||||
|
||||
Reference in New Issue
Block a user