Use shortlinks
This commit is contained in:
@@ -121,7 +121,7 @@ class SP_Admin_Welcome {
|
||||
|
||||
<p class="sportspress-actions">
|
||||
<a href="<?php echo admin_url( add_query_arg( array( 'page' => 'sportspress', 'tab' => 'general' ), 'admin.php' ) ); ?>" class="button button-primary"><?php _e( 'Settings', 'sportspress' ); ?></a>
|
||||
<a href="<?php echo esc_url( apply_filters( 'sportspress_docs_url', 'http://sportspresspro.com/docs/', 'sportspress' ) ); ?>" class="docs button button-primary"><?php _e( 'Docs', 'sportspress' ); ?></a>
|
||||
<a href="<?php echo esc_url( apply_filters( 'sportspress_docs_url', 'http://tboy.co/docs', 'sportspress' ) ); ?>" class="docs button button-primary"><?php _e( 'Docs', 'sportspress' ); ?></a>
|
||||
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://wordpress.org/plugins/sportspress" data-text="An open-source (free) #WordPress plugin that helps you build professional league websites." data-via="ThemeBoy" data-size="large" data-hashtags="SportsPress">Tweet</a>
|
||||
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
||||
</p>
|
||||
|
||||
@@ -63,7 +63,7 @@ class SP_Settings_Modules extends SP_Settings_Page {
|
||||
<p><?php _e( 'Get SportsPress Pro to get access to all modules. You can upgrade any time without losing any of your data.','sportspress' ); ?></p>
|
||||
<p class="sp-module-actions">
|
||||
<span><?php _e( 'Premium', 'sportspress' ); ?></span>
|
||||
<a class="button button-primary" href="<?php echo apply_filters( 'sportspress_pro_url', 'http://sportspresspro.com/pricing/' ); ?>" target="_blank"><?php _e( 'Upgrade Now', 'sportspress' ); ?></a>
|
||||
<a class="button button-primary" href="<?php echo apply_filters( 'sportspress_pro_url', 'http://tboy.co/pricing' ); ?>" target="_blank"><?php _e( 'Upgrade Now', 'sportspress' ); ?></a>
|
||||
</p>
|
||||
</td></tr>
|
||||
</tbody>
|
||||
@@ -137,9 +137,9 @@ class SP_Settings_Modules extends SP_Settings_Page {
|
||||
<tr><td>
|
||||
<p><strong><i class="sp-icon-book"></i> <?php _e( 'Documentation', 'sportspress' ); ?></strong></p>
|
||||
<ul class="sp-documentation-links">
|
||||
<li><a href="http://sportspresspro.com/docs/installation/" target="_blank"><?php _e( 'Getting Started', 'sportspress' ); ?></a></li>
|
||||
<li><a href="http://sportspresspro.com/docs/roles-and-capabilities/" target="_blank"><?php _e( 'Roles and Capabilities', 'sportspress' ); ?></a></li>
|
||||
<li><a href="http://sportspresspro.com/docs/theme-integration-guide/" target="_blank"><?php _e( 'Theme Integration Guide', 'sportspress' ); ?></a></li>
|
||||
<li><a href="http://tboy.co/installation" target="_blank"><?php _e( 'Getting Started', 'sportspress' ); ?></a></li>
|
||||
<li><a href="http://tboy.co/roles" target="_blank"><?php _e( 'Roles and Capabilities', 'sportspress' ); ?></a></li>
|
||||
<li><a href="http://tboy.co/integration" target="_blank"><?php _e( 'Theme Integration Guide', 'sportspress' ); ?></a></li>
|
||||
</ul>
|
||||
<p><strong><i class="dashicons dashicons-groups"></i> <?php _e( 'Support', 'sportspress' ); ?></strong></p>
|
||||
<ul class="sp-community-links">
|
||||
@@ -147,7 +147,7 @@ class SP_Settings_Modules extends SP_Settings_Page {
|
||||
<?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>
|
||||
<?php } else { ?>
|
||||
<li><a href="<?php echo apply_filters( 'sportspress_pro_url', 'http://sportspresspro.com/pricing/' ); ?>" target="_blank"><span class="sp-desc-tip" title="<?php _e( 'Upgrade to Pro', 'sportspress' ); ?>"><?php _e( 'Premium Support', 'sportspress' ); ?></span></a></li>
|
||||
<li><a href="<?php echo apply_filters( 'sportspress_pro_url', 'http://tboy.co/pricing/' ); ?>" target="_blank"><span class="sp-desc-tip" title="<?php _e( 'Upgrade to Pro', 'sportspress' ); ?>"><?php _e( 'Premium Support', 'sportspress' ); ?></span></a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</td></tr>
|
||||
@@ -185,7 +185,7 @@ class SP_Settings_Modules extends SP_Settings_Page {
|
||||
<img src="<?php echo $theme->get_screenshot(); ?>" class="sp-theme-screenshot">
|
||||
<p><?php _e( '<strong>Rookie</strong> is a free starter theme designed for SportsPress.', 'sportspress' ); ?></p>
|
||||
<p class="sp-module-actions">
|
||||
<a class="button" href="http://themeboy.com/sportspress/themes/" target="_blank"><?php _e( 'Need a Better Theme?', 'sportspress' ); ?></a>
|
||||
<a class="button" href="http://tboy.co/themes" target="_blank"><?php _e( 'Need a Better Theme?', 'sportspress' ); ?></a>
|
||||
</p>
|
||||
</td></tr>
|
||||
</tbody>
|
||||
@@ -203,7 +203,7 @@ class SP_Settings_Modules extends SP_Settings_Page {
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ( $modules as $id => $module ) { ?>
|
||||
<?php if ( isset( $module['class'] ) && ! class_exists( $module['class'] ) ) { ?>
|
||||
<?php if ( isset( $module['class'] ) && ! class_exists( '.'.$module['class'] ) ) { ?>
|
||||
<tr class="sp-module-unavailable"><td>
|
||||
<input type="checkbox" disabled="disabled">
|
||||
<span<?php if ( array_key_exists( 'tip', $module ) ) { ?> class="sp-desc-tip" title="<?php echo $module['tip']; ?>"<?php } ?>>
|
||||
|
||||
@@ -37,7 +37,7 @@ class SP_Modules {
|
||||
'class' => 'SportsPress_Tournaments',
|
||||
'tip' => __( 'Upgrade to Pro', 'sportspress' ),
|
||||
'icon' => 'sp-icon-tournament',
|
||||
'link' => 'test',
|
||||
'link' => 'http://tboy.co/tournaments',
|
||||
),
|
||||
),
|
||||
'team' => array(
|
||||
@@ -50,7 +50,7 @@ class SP_Modules {
|
||||
'class' => 'SportsPress_Team_Colors',
|
||||
'tip' => __( 'Upgrade to Pro', 'sportspress' ),
|
||||
'icon' => 'sp-icon-color',
|
||||
'link' => 'test',
|
||||
'link' => 'http://tboy.co/colors',
|
||||
),
|
||||
),
|
||||
'player' => array(
|
||||
@@ -62,7 +62,7 @@ class SP_Modules {
|
||||
'label' => __( 'Birthdays', 'sportspress' ),
|
||||
'class' => 'SportsPress_Birthdays',
|
||||
'action' => __( 'Review on WP.org', 'sportspress' ),
|
||||
'link' => 'http://wordpress.org/support/view/plugin-reviews/sportspress#postform',
|
||||
'link' => 'http://tboy.co/review',
|
||||
'tip' => __( 'Post your ★★★★★ review on WordPress.org and get the Birthdays module for free.', 'sportspress' ),
|
||||
'icon' => 'sp-icon-cake',
|
||||
),
|
||||
@@ -73,6 +73,7 @@ class SP_Modules {
|
||||
'class' => 'SportsPress_Staff_Directories',
|
||||
'tip' => __( 'Upgrade to Pro', 'sportspress' ),
|
||||
'icon' => 'sp-icon-archive',
|
||||
'link' => 'http://tboy.co/directories',
|
||||
),
|
||||
),
|
||||
'other' => array(
|
||||
@@ -89,28 +90,28 @@ class SP_Modules {
|
||||
'class' => 'SportsPress_Branding',
|
||||
'tip' => __( 'Upgrade to Pro', 'sportspress' ),
|
||||
'icon' => 'sp-icon-sportspress',
|
||||
'link' => 'test',
|
||||
'link' => 'http://tboy.co/branding',
|
||||
),
|
||||
'league_menu' => array(
|
||||
'label' => __( 'League Menu', 'sportspress' ),
|
||||
'class' => 'SportsPress_League_Menu',
|
||||
'tip' => __( 'Upgrade to Pro', 'sportspress' ),
|
||||
'icon' => 'sp-icon-menu',
|
||||
'link' => 'test',
|
||||
'link' => 'http://tboy.co/menu',
|
||||
),
|
||||
'sponsors' => array(
|
||||
'label' => __( 'Sponsors', 'sportspress' ),
|
||||
'class' => 'SportsPress_Sponsors',
|
||||
'tip' => __( 'Upgrade to Pro', 'sportspress' ),
|
||||
'icon' => 'sp-icon-megaphone',
|
||||
'link' => 'test',
|
||||
'link' => 'http://tboy.co/sponsors',
|
||||
),
|
||||
'multisite' => array(
|
||||
'label' => __( 'Multisite', 'sportspress' ),
|
||||
'class' => 'SportsPress_Multisite',
|
||||
'tip' => __( 'Upgrade to Pro', 'sportspress' ),
|
||||
'icon' => 'sp-icon-globe',
|
||||
'link' => 'test',
|
||||
'link' => 'http://tboy.co/multisite',
|
||||
),
|
||||
),
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user