Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
2 answers
1k views

how to only add a top-level admin menu without it creating a sub-level-menu

Here is a the code snippet: add_action( 'admin_menu', 'travel_site' ); function travel_site(){ add_menu_page( 'Travel Site Menu', 'Travel Site', 'manage_options', 'travel-site-menu', '...
dave's user avatar
  • 133
1 vote
2 answers
268 views

Wordpress Remove Submenus

I found an answered question here Remove menus and submenus 2 Answers for my problem but is there a way of changing the code a bit so that it removed the submenus for all Editor roles. not only for ...
Pullapooh's user avatar
6 votes
6 answers
7k views

Add separator to admin submenu

I would like to add a separator to the admin submenu section, NOT in the top level section. I'm thinking of using javascript and styling to do the job, but I was wondering if there's a more ...
Giraldi's user avatar
  • 1,485
1 vote
3 answers
2k views

Change top level menu item to point to custom submenu item

I'm using a plugin called CMS Page Order http://wordpress.org/extend/plugins/cms-page-order/ (Now referred to as CPO) It's pretty simple, the said plugin adds a new item to the submenu of every ...
INT's user avatar
  • 1,281