Fix table caption classes

This commit is contained in:
Brian Miyaji
2014-07-20 01:10:25 +10:00
parent fb89c90834
commit 7bf7f35916
4 changed files with 4 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ if ( $seasons ):
$data[ __( 'Season', 'sportspress' ) ] = $season->name;
endif;
?>
<h4 class="sp-table=caption"><?php _e( 'Details', 'sportspress' ); ?></h4>
<h4 class="sp-table-caption"><?php _e( 'Details', 'sportspress' ); ?></h4>
<div class="sp-table-wrapper sp-scrollable-table-wrapper">
<table class="sp-event-details sp-data-table">
<thead>

View File

@@ -49,7 +49,7 @@ if ( is_array( $teams ) ):
$data = sp_array_combine( $players, sp_array_value( $performance, $team_id, array() ) );
?>
<h4 class="sp-table=caption"><?php echo get_the_title( $team_id ); ?></h4>
<h4 class="sp-table-caption"><?php echo get_the_title( $team_id ); ?></h4>
<?php
if ( get_option( 'sportspress_event_show_staff', 'yes' ) == 'yes' ):
sp_get_template( 'event-staff.php', array( 'id' => $id, 'index' => $index ) );

View File

@@ -86,7 +86,7 @@ if ( empty( $table_rows ) ):
else:
$output .= '<h4 class="sp-table=caption">' . __( 'Team Results', 'sportspress' ) . '</h4>';
$output .= '<h4 class="sp-table-caption">' . __( 'Team Results', 'sportspress' ) . '</h4>';
$output .= '<div class="sp-table-wrapper sp-scrollable-table-wrapper">' .
'<table class="sp-event-results sp-data-table sp-responsive-table"><thead>' .

View File

@@ -32,7 +32,7 @@ foreach( $venues as $venue ):
$latitude = sp_array_value( $meta, 'sp_latitude', 0 );
$longitude = sp_array_value( $meta, 'sp_longitude', 0 );
?>
<h4 class="sp-table=caption"><?php _e( 'Venue', 'sportspress' ); ?></h4>
<h4 class="sp-table-caption"><?php _e( 'Venue', 'sportspress' ); ?></h4>
<table class="sp-data-table sp-event-venue">
<thead>
<tr>