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 );
}