Add team gallery template

This commit is contained in:
Brian Miyaji
2017-06-06 15:22:33 +10:00
parent 18a417adf3
commit 2cb7a7528b
15 changed files with 334 additions and 29 deletions

View File

@@ -6,6 +6,7 @@ $options = array(
'event' => array(
'details', 'results', 'performance'
),
'team' => array(),
'player' => array(
'details', 'statistics'
),
@@ -14,6 +15,7 @@ $options = array(
$options = apply_filters( 'sportspress_shortcodes', $options );
foreach ( $options as $name => $group ) {
if ( empty( $group ) ) continue;
$shortcodes .= $name . '[' . implode( '|', $group ) . ']';
}
@@ -30,7 +32,8 @@ $raw = apply_filters( 'sportspress_tinymce_strings', array(
'performance' => __( 'Box Score', 'sportspress' ),
'calendar' => __( 'Calendar', 'sportspress' ),
'statistics' => __( 'Statistics', 'sportspress' ),
'table' => __( 'League Table', 'sportspress' ),
'team' => __( 'Team', 'sportspress' ),
'standings' => __( 'League Table', 'sportspress' ),
'player' => __( 'Player', 'sportspress' ),
'list' => __( 'List', 'sportspress' ),
'blocks' => __( 'Blocks', 'sportspress' ),