Use shortlinks

This commit is contained in:
Brian Miyaji
2015-02-01 09:20:52 +11:00
parent fc0a55e966
commit b7ab0e0530
6 changed files with 35 additions and 34 deletions

View File

@@ -8,7 +8,7 @@ If you are not a developer, please use the [SportsPress plugin page](http://word
This repository is not suitable for support. Please don't use our issue tracker for support requests, but for core SportsPress issues only. Support can take place in the appropriate channels:
* The [public support forums](http://wordpress.org/support/plugin/sportspress) on WordPress.org, where the community can help each other out.
* The [ThemeBoy premium support portal](http://support.themeboy.com/) for customers who have purchased themes or extensions.
* The [ThemeBoy premium support portal](http://tboy.co/support) for customers who have purchased themes or extensions.
## Contributing to SportsPress

View File

@@ -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>

View File

@@ -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 } ?>>

View File

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

View File

@@ -1,7 +1,7 @@
=== SportsPress - Manage Leagues & Sports Clubs ===
Contributors: ThemeBoy, brianmiyaji, aylaview
Tags: sport, sports, club, clubs, teams, statistics, stats, metrics, data, fixtures, results, standings, league tables, leagues, shortcodes, sports data, sports club, themeboy, esports, wordpress sports, equations, calculations, events, calendars, players, profiles, staff, seasons, countdowns, club management, football, nfl, footy, afl, baseball, basketball, cricket, darts, handball, hockey, netball, rugby, snooker, soccer, squash, tennis, volleyball, dota 2, league of legends
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=support@themeboy.com&item_name=Donation+for+SportsPress
Donate link: http://tboy.co/donate
Requires at least: 3.8
Tested up to: 4.1
Stable tag: 1.5
@@ -45,11 +45,11 @@ Transform your WordPress blog into a fully configurable team, club, or league we
* Events Integrate with iCal
* Certified compatibility with [WPML](http://wpml.org/plugin/sportspress/)
More details about each feature are available on the [SportsPress Website](http://sportspresspro.com/).
More details about each feature are available on the [SportsPress Website](http://tboy.co/pro).
= SportsPress Pro =
Looking for more advanced sports functionality? Upgrade to [SportsPress Pro](http://sportspresspro.com/pricing/) to get access to more advanced features for your team, club, or league website.
Looking for more advanced sports functionality? Upgrade to [SportsPress Pro](http://tboy.co/pricing) to get access to more advanced features for your team, club, or league website.
= Available Languages =
* English English ( en_US )
@@ -104,16 +104,16 @@ Looking for more advanced sports functionality? Upgrade to [SportsPress Pro](htt
* Water Polo
= SportsPress Themes for Clubs =
* [Football Club](https://themeboy.com/products/footballclub/)
* [Premier](https://themeboy.com/products/premier/)
* [Football Club](http://tboy.co/fc)
* [Premier](http://tboy.co/premier)
= Documentation =
* [Getting Started](https://sportspresspro.com/docs/installation/)
* [User Roles](https://sportspresspro.com/docs/section/user-roles/)
* [Integration Guide](https://sportspresspro.com/docs/theme-integration-guide/)
* [Actions](https://sportspresspro.com/docs/action-reference/)
* [Filters](https://sportspresspro.com/docs/filter-reference/)
* [Shortcodes](https://sportspresspro.com/docs/shortcode-reference/)
* [Getting Started](http://tboy.co/installation)
* [User Roles](http://tboy.co/roles)
* [Integration Guide](http://tboy.co/integration)
* [Actions](http://tboy.co/actionref)
* [Filters](http://tboy.co/filterref)
* [Shortcodes](http://tboy.co/shortcoderef)
= Get Involved =
@@ -126,9 +126,9 @@ Translators can contribute to SportsPress translations through [Transifex](https
= Stay Current =
To keep up with the latest updates and new features, be sure to do the following:
* Visit the [SportsPress Pro homepage](http://sportspresspro.com/).
* Subscribe to our [YouTube channel](https://www.youtube.com/user/themeboyteam).
* Follow ThemeBoy on [Facebook](https://facebook.com/themeboy) & [Twitter](http://twitter.com/themeboy).
* Visit the [SportsPress Pro homepage](http://tboy.co/pro).
* Subscribe to our [YouTube channel](http://tboy.co/youtube).
* Follow ThemeBoy on [Facebook](http://tboy.co/facebook) & [Twitter](http://tboy.co/twitter).
= Please Rate, Vote, and Enjoy! =
Your feedback is much appreciated and makes all the difference in improving SportsPress.
@@ -197,7 +197,7 @@ SportsPress is a free plugin developed to give sports organizations the function
Limitations? Don't worry, there are no limitations to the number of events, players, staff members, teams, clubs, or leagues you can add to the free plugin.
[SportsPress Pro](http://sportspresspro.com) is a premium plugin made for serious teams who are looking for additional sports functionality in their website. By upgrading to SportsPress Pro, you will be given instant access to a suite of sports modules that will appear in your dashboard.
[SportsPress Pro](http://tboy.co/pro) is a premium plugin made for serious teams who are looking for additional sports functionality in their website. By upgrading to SportsPress Pro, you will be given instant access to a suite of sports modules that will appear in your dashboard.
The current modules that are available exclusively to SportsPress Pro are:
@@ -208,7 +208,7 @@ The current modules that are available exclusively to SportsPress Pro are:
* League Menu: Display a global navigation bar at the top of your website for easy navigation from one team to the next.
* Branding: Instantly rebrands your admin panel to reflect your organization's brand.
There are [3 different licenses](http://sportspresspro.com/pricing/) that you can choose from (Social, Club, and League), each with a [specified set of modules](http://sportspresspro.com/features/).
There are [3 different licenses](http://tboy.co/pricing) that you can choose from (Social, Club, and League), each with a [specified set of modules](http://sportspresspro.com/features/).
When you upgrade to one of the SportsPress Pro licenses, you can simply activate the Pro version without losing any of your data. Please note that we recommend that you do a complete backup whenever you make big changes to your website.

View File

@@ -138,8 +138,8 @@ final class SportsPress {
public function action_links( $links ) {
return array_merge( array(
'<a href="' . admin_url( 'admin.php?page=sportspress' ) . '">' . __( 'Settings', 'sportspress' ) . '</a>',
'<a href="' . apply_filters( 'sportspress_docs_url', 'http://sportspresspro.com/docs/' ) . '">' . __( 'Docs', 'sportspress' ) . '</a>',
'<a href="' . apply_filters( 'sportspress_pro_url', 'http://sportspresspro.com/pricing/' ) . '">' . __( 'Upgrade', 'sportspress' ) . '</a>',
'<a href="' . apply_filters( 'sportspress_docs_url', 'http://tboy.co/docs' ) . '">' . __( 'Docs', 'sportspress' ) . '</a>',
'<a href="' . apply_filters( 'sportspress_pro_url', 'http://tboy.co/pricing' ) . '">' . __( 'Upgrade', 'sportspress' ) . '</a>',
), $links );
}