The add-submenu-page tag has no wiki summary.
0
votes
2answers
175 views
Add menu and submenu in admin with a URL instead of slug?
I use this function and hook:
function mysite_admin_menu()
{
add_menu_page( 'Categories', 'Catégories', 'administrator', 'categories', 'a_function' );
add_submenu_page( 'categories', 'Manage', ...
0
votes
1answer
49 views
Prevent Admin gui output from page added using add_submenu_page
I have created a download link for my plugin using add_submenu_page. When the link is clicked it gathers some files into a zip, then outputs the contents to the browser like so:
header('Content-Type: ...
3
votes
1answer
131 views
How to link a Custom Post Type submenu to a Nextgen Gallery page?
I've created a custom posts top level menu item but I would like to have a submenu under that linking to the Add Gallery page of Nextgen, as the client wants all their functionality bundled up under ...
0
votes
1answer
99 views
Add an admin page, but don't show it on the admin menu
I have a custom plugin 'Charts' that has it's own menu. In that menu are links to the 3 pages for the plugin - 'Charts', 'Add Chart' and 'Edit Chart'. However, I don't want to display the link to ...
1
vote
1answer
514 views
Hooking into add_submenu_page
Ever come across a plugin that is using the manage_options capability for a page that... really doesn't need to be? Well, I've come across just that.
This may be more of a general question about ...
2
votes
2answers
305 views
add_submenu_page callback a file instead of a function?
I want to clean up my theme options because I can't keep track of everything. How can I get my page_callback to link to a file sintead of a callback?
I know that I could include the file in the ...
0
votes
3answers
326 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 ...
12
votes
1answer
966 views
add_menu_page() with different name for first submenu item
The add_menu_page documentation says to pass the menu title as the second parameter:
add_menu_page('Page Title', 'Menu Title', ...);
When adding more pages later via add_submenu_page, the main page ...
4
votes
1answer
180 views
Plugin - create a page without it appearing in the side menu
I am currently using add_submenu_page to add pages for my plugin. However, I wish to create a page that don't appear in the admin menu, is that possible?
0
votes
2answers
560 views
How to Add a Sub Menu Page to a Custom Post Type?
I am trying to create a link under a custom post type I have named "portfolios". If I change "add_submenu_page" to "add_options_page" it correctly shows a new link under the "Settings" menu. But it ...