Show league table caption by default

This commit is contained in:
Brian Miyaji
2014-05-08 16:07:21 +10:00
parent 4b14ac3099
commit 71dbe18ae6

View File

@@ -19,6 +19,9 @@ class SP_Shortcode_League_Table {
if ( ! isset( $atts['id'] ) && isset( $atts[0] ) && is_numeric( $atts[0] ) )
$atts['id'] = $atts[0];
if ( ! isset( $atts['show_caption'] ) )
$atts['show_caption'] = true;
sp_get_template( 'league-table.php', $atts );
}
}