Display team logos under event title

This commit is contained in:
Brian Miyaji
2014-05-16 20:00:12 +10:00
parent d358f9a883
commit 4ec64cd5ee
4 changed files with 18 additions and 2 deletions

View File

@@ -236,7 +236,7 @@ class SP_Admin_Welcome {
<h4><?php _e( 'Translators', 'sportspress' ); ?></h4>
<p><?php _e( 'SportsPress has been kindly translated into several other languages thanks to our translation team. Want to see your name? <a href="https://www.transifex.com/projects/p/sportspress/">Translate SportsPress</a>.', 'sportspress' ); ?></p>
<?php
$translator_handles = array( 'Abdulelah', 'albertone', 'aylaview', 'Bhelpful2', 'bizover', 'BOCo', 'dic_2008', 'hanro', 'i__k', 'Jarski', 'JensZ', 'JuKi', 'karimjarro', 'rochester', 'Selskei', 'Spirossmil', 'ThemeBoy', 'valentijnreza' );
$translator_handles = array( 'Abdulelah', 'albertone', 'aylaview', 'Bhelpful2', 'bizover', 'BOCo', 'dic_2008', 'hanro', 'i__k', 'JensZ', 'JuKi', 'karimjarro', 'rochester', 'Selskei', 'Spirossmil', 'ThemeBoy', 'valentijnreza' );
$translator_links = array();
foreach ( $translator_handles as $handle ):
$translator_links[] = '<a href="https://www.transifex.com/accounts/profile/' . $handle . '">' . $handle . '</a>';

View File

@@ -56,6 +56,14 @@ class SP_Settings_Events extends SP_Settings_Page {
array( 'type' => 'delimiter' ),
array(
'title' => __( 'Teams', 'sportspress' ),
'desc' => __( 'Display logos', 'sportspress' ),
'id' => 'sportspress_event_show_logos',
'default' => 'yes',
'type' => 'checkbox',
),
array(
'title' => __( 'Venue', 'sportspress' ),
'desc' => __( 'Display maps', 'sportspress' ),