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

@@ -24,6 +24,10 @@
content: "\f334";
}
.post-state-format.post-format-standings:before, .post-format-icon.post-format-standings:before, a.post-state-format.format-standings:before {
content: "\f185";
}
.post-state-format.post-format-list:before, .post-format-icon.post-format-list:before, a.post-state-format.format-list:before {
content: "\f163";
}

View File

@@ -191,6 +191,11 @@
max-height: 2em;
}
/* Team Gallery */
.sp-template-team-gallery img {
padding: 1em;
}
/* Player List */
.sp-player-list td {
line-height: 2em;

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' ),