Tagged Questions
1
vote
2answers
28 views
Admin Menus - Name Menu different from first Submenu [duplicate]
I am creating a submenu with the following code:
add_action( 'admin_menu', 'jp_create_admin_pages' );
function jp_create_admin_pages()
{
add_menu_page(
'Members',
'Members',
...
2
votes
1answer
132 views
Generate Advanced Custom Fields box in custom admin menu page
I have created an custom admin menu page called FCC Youtube with add_menu_page function
which has some custom fields I manually generated via HTML and PHP:
code ( just the part how I created this ...
0
votes
2answers
91 views
How to add admin bar only page?
I successfully managed to create admin bar item using this:
add_action('admin_bar_menu', 'toolbar_link_to_mypage', 999);
function toolbar_link_to_mypage($wp_admin_bar){
global $wp_admin_bar;
...
1
vote
1answer
298 views
Associating custom submenu item with post type of top level menu item
I'm working on a plugin that sets admin menu submenu pages on all different post types.
I need to be able to associate these new submenu pages with the corresponding post type of the top level menu ...
0
votes
2answers
469 views
How can I add/update post meta in a admin menu page?
I wanted to create a plugin to batch manage posts' custom field data. I know I can add post meta by add a meta box in post edit screen and use add_action('save_post','function_to_update_meta') to ...
3
votes
1answer
131 views
Add highlighting to new Admin Dashboard Menu Item
I have implemented a Custom menu item in my wordpress dashboard using the following command in the functions.php
function create_menu() {
$settings_page = add_menu_page('Edit_Post_69', ...
1
vote
1answer
304 views
difference between add_object_page and add_menu_page
According to Codex, the add_object_page "essentially does the exact same thing as add_menu_page() in case you're wondering".
So.... what is the difference between those two functions?
0
votes
2answers
356 views
How to prevent parent admin page from appearring as a child admin page
I am using this code:
add_menu_page($page_title, $menu_title, $this->capability, $menu_slug, $function);
Which is adding top level admin page. When I add:
add_submenu_page( $menu_slug, 'sub ...
1
vote
1answer
117 views
Master menu item for multiple plugins?
I guess this question is more or less about aesthetics and organization rather than functionality, but I'm curious nonetheless...
I know I can add a custom menu item in the dashboard for my plugin ...