Add team gallery template
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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' ),
|
||||
|
||||
Reference in New Issue
Block a user