diff --git a/includes/shortcodes/class-sp-shortcode-league-table.php b/includes/shortcodes/class-sp-shortcode-league-table.php index 9c467d83..f9436f6e 100644 --- a/includes/shortcodes/class-sp-shortcode-league-table.php +++ b/includes/shortcodes/class-sp-shortcode-league-table.php @@ -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 ); } }