From 9bb12a034cbefaf5e3d3c48959170951e3b012e7 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Mon, 5 May 2014 20:39:39 +1000 Subject: [PATCH] Move table caption outside of league table --- templates/league-table.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 );