Add views counter and style tweaks

This commit is contained in:
Brian Miyaji
2014-01-22 17:33:25 +11:00
parent 86b06e3ec6
commit bb15a05338
18 changed files with 190 additions and 93 deletions

View File

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