Fix styles and functions to align with theme

This commit is contained in:
Brian Miyaji
2014-01-21 02:51:16 +11:00
parent f9a367ae6e
commit 08ce1eea27
11 changed files with 189 additions and 56 deletions

View File

@@ -23,6 +23,9 @@ function sportspress_admin_menu( $position ) {
if ( $position ):
$menu[ $position ] = array( '', 'read', 'separator-sportspress', '', 'wp-menu-separator sportspress' );
endif;
// Remove "Positions" link from Media submenu
unset( $submenu['upload.php'][17] );
// Remove "Leagues" link from Players submenu
unset( $submenu['edit.php?post_type=sp_player'][15] );