Update module settings
This commit is contained in:
@@ -26,12 +26,12 @@ class SP_Settings_Modules extends SP_Settings_Page {
|
|||||||
$this->theme = wp_get_theme();
|
$this->theme = wp_get_theme();
|
||||||
|
|
||||||
$this->sections = apply_filters( 'sportspress_module_sections', array(
|
$this->sections = apply_filters( 'sportspress_module_sections', array(
|
||||||
'general' => __( 'General' ),
|
'general' => __( 'General', 'sportspress' ),
|
||||||
'event' => __( 'Events' ),
|
'event' => __( 'Events', 'sportspress' ),
|
||||||
'team' => __( 'Teams' ),
|
'team' => __( 'Teams', 'sportspress' ),
|
||||||
'player' => __( 'Players' ),
|
'player' => __( 'Players', 'sportspress' ),
|
||||||
'staff' => __( 'Staff' ),
|
'staff' => __( 'Staff', 'sportspress' ),
|
||||||
'other' => __( 'Other' ),
|
'other' => __( 'Other', 'sportspress' ),
|
||||||
));
|
));
|
||||||
|
|
||||||
add_filter( 'sportspress_settings_tabs_array', array( $this, 'add_settings_page' ), 20 );
|
add_filter( 'sportspress_settings_tabs_array', array( $this, 'add_settings_page' ), 20 );
|
||||||
@@ -152,7 +152,7 @@ class SP_Settings_Modules extends SP_Settings_Page {
|
|||||||
</ul>
|
</ul>
|
||||||
<p><strong><i class="dashicons dashicons-groups"></i> <?php _e( 'Support', 'sportspress' ); ?></strong></p>
|
<p><strong><i class="dashicons dashicons-groups"></i> <?php _e( 'Support', 'sportspress' ); ?></strong></p>
|
||||||
<ul class="sp-community-links">
|
<ul class="sp-community-links">
|
||||||
<li><a href="https://wordpress.org/support/plugin/sportspress" target="_blank"><?php _e( 'Plugin Forums', 'sportspress' ); ?></a></li>
|
<li><a href="http://tboy.co/forums" target="_blank"><?php _e( 'Plugin Forums', 'sportspress' ); ?></a></li>
|
||||||
<?php if ( class_exists( 'SportsPress_Pro' ) ) { ?>
|
<?php if ( class_exists( 'SportsPress_Pro' ) ) { ?>
|
||||||
<li><a href="<?php echo apply_filters( 'sportspress_support_url', 'http://sportspresspro.com/support/' ); ?>" target="_blank"><?php _e( 'Premium Support', 'sportspress' ); ?></a></li>
|
<li><a href="<?php echo apply_filters( 'sportspress_support_url', 'http://sportspresspro.com/support/' ); ?>" target="_blank"><?php _e( 'Premium Support', 'sportspress' ); ?></a></li>
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
|
|||||||
@@ -63,7 +63,11 @@ class SP_Modules {
|
|||||||
'class' => 'SportsPress_Birthdays',
|
'class' => 'SportsPress_Birthdays',
|
||||||
'action' => __( 'Review on WP.org', 'sportspress' ),
|
'action' => __( 'Review on WP.org', 'sportspress' ),
|
||||||
'link' => 'http://tboy.co/review',
|
'link' => 'http://tboy.co/review',
|
||||||
'tip' => __( 'Post your ★★★★★ review on WordPress.org and get the Birthdays module for free.', 'sportspress' ),
|
'tip' => str_replace(
|
||||||
|
array( '[stars]', '[link]', '[/link]' ),
|
||||||
|
array( '★★★★★', '', '' ),
|
||||||
|
__( 'Add your [stars] on [link]wordpress.org[/link] and get the Birthdays module for free.','sportspress' )
|
||||||
|
),
|
||||||
'icon' => 'sp-icon-cake',
|
'icon' => 'sp-icon-cake',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user