Move league table and player list menu positions

This commit is contained in:
ThemeBoy
2013-12-10 22:59:51 +11:00
parent 3d1f501849
commit 06dfb2f613
3 changed files with 15 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ function sp_list_cpt_init() {
'supports' => array( 'title', 'author' ),
'register_meta_box_cb' => 'sp_list_meta_init',
'rewrite' => array( 'slug' => 'list' ),
'show_in_menu' => 'edit.php?post_type=sp_event'
'show_in_menu' => 'edit.php?post_type=sp_player'
);
register_post_type( 'sp_list', $args );
}

View File

@@ -12,7 +12,7 @@ function sp_table_cpt_init() {
'supports' => array( 'title', 'author', 'excerpt' ),
'register_meta_box_cb' => 'sp_table_meta_init',
'rewrite' => array( 'slug' => 'table' ),
'show_in_menu' => 'edit.php?post_type=sp_event'
'show_in_menu' => 'edit.php?post_type=sp_team'
);
register_post_type( 'sp_table', $args );
}

View File

@@ -1,9 +1,9 @@
=== SportsPress ===
Contributors: themeboy
Tags: sports, sports journalism, teams, team management, fixtures, results, standings, league tables, divisions, reporting, themeboy, wordpress sports, configurable, variable, widgets
Tags: sports, sports journalism, teams, team management, fixtures, results, standings, league tables, divisions, reporting, themeboy, wordpress sports, configurable
Requires at least: 3.5
Tested up to: 3.6
Stable tag: 0.1
Stable tag: 0.1.2
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -11,5 +11,15 @@ SportsPress is a flexible sports management plugin that adds team management fun
== Changelog ==
= 0.1 - 23/11/2013 =
= 0.1.2 =
* Tweak - Use custom post types for metrics and statistics configuration.
* Feature - Display HTML tables when viewing League Table and Player List post types.
* Feature - Link player and team names to single post pages.
* Feature - Register default configuration for soccer.
* Feature - Sort league table and player list by priority.
= 0.1.1 =
* Tweak - Update description.
= 0.1 =
* Alpha release for first look and testing.