diff --git a/templates/league-table.php b/templates/league-table.php index d99a8a77..9d77353d 100644 --- a/templates/league-table.php +++ b/templates/league-table.php @@ -25,14 +25,13 @@ $defaults = array( extract( $defaults, EXTR_SKIP ); -$output = '
' . - ''; +$output = '
'; if ( $show_caption ): - $output .= '
'; + $output .= '

' . get_the_title( $id ) . '

'; endif; -$output .= '' . ''; +$output .= '
' . get_the_title( $id ) . '
' . '' . ''; $table = new SP_League_Table( $id );