Creating Admin Menus/Screens
-
Ok, I’ve been toiling over this one for quite a while.
When using the add_menu_page() and add_submenu_page() functions WordPress automatically assumes that you’re wanting to put it into the sidebar of the admin screens.
Is there a way to create a page within the admin section that won’t go into the sidebar and wont show the “You don’t have permission to access this page” error?
In the past I’ve had to modify a sidebar page to do something like this;
switch ($_REQUEST["var"]){ case "page1" : // Output this default : // Output the default admin page }
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Creating Admin Menus/Screens’ is closed to new replies.