Questions tagged [admin-menu]
Usually, plugin and theme authors need to provide access to a settings (options) screen so users can customize how the plugin or theme is used. The best way to present the user with such a screen is to create an administration menu item that allows the user to access that settings screen from all the Administration Screens.
649 questions
0 votes
0 answers
30 views
How to Processs Form Data sent from Custom Settings Page in Admin Dashboard
:edit: To clarify what I'm trying to do: I need access to form data submitted to options.php so that I can preprocess it into a specific data format. Then, depending on one of the fields, I either ...
0 votes
1 answer
21 views
Shared Main Menu Entry
I have a suite of plugins I am designing. They are independent but provide cohesive developer tools. I would like to place a single "suite" menu item on the Admin menu and have the different ...
0 votes
0 answers
23 views
Is there a filter/action to modify the page details in the Menus administration in the Appearance section in WP Admin?
I am looking to add the URL of each Page in the Add Menu Items section of the Edit Menu area of the administration panel. I'd like to add what the URL is to each page to make it easier when adding ...
1 vote
0 answers
33 views
Is it possible to control order of all Admin Menu Items?
There is a task to configure menu items in the admin panel depending on the established rules. Pages Stories Resources Press Mentions Team Members Media Menus --Gap-- Theme Settings Forms Apperance ...
1 vote
1 answer
78 views
adding an options menu that allows saving multiple sets of said options
There are several good examples and tutorials on how to add an options menu to a plugin. (Many of these seem confusingly old though, but that's another thing, I'm assuming stuff from 15 years ago ...
0 votes
1 answer
58 views
Filter hook for the action of listing users
I need to modify the list of users return on the 'All Users' admin page. I am producing a list by having added the list_user capability to the author role and this has produced a list of users. Now I ...
2 votes
5 answers
3k views
Remove or disable Appearance > Patterns
Not sure quite when, but a recent WordPress release has added a new WP Admin link under Appearance for Patterns: My themes don't use Gutenberg, and I've disabled it. But the Patterns screen is still ...
1 vote
0 answers
45 views
One custom taxonomy with unique sets of labels for two post types?
I’m trying to use one custom taxonomy with different labels for different post types. I have the default “post” post type, and a “podcast” post type. Both post types have an associated Taxonomy with ...
1 vote
1 answer
180 views
How can I have an admin only non-dashboard page in my Wordpress plugin
I am building a plugin with two pages, one will be part of the admin dashboard which is simple enough and will just allow admins to edit some data. The other page should also be only accessible for ...
0 votes
0 answers
35 views
How to access admin menu labels and links on front-end?
I am trying to retrieve a list of all the admin menu labels and links on the front-end so I can add them to my admin bar menu. I don't need the submenus. I was hoping to access global $menu, but it ...
0 votes
1 answer
25 views
Remove custom post type from the auto generated list on the edit menu page Add menu items
How to remove a custom post type from the default wordpress admin menu editor nav-menus.php ? I'm sure this is already talked about but I can't find it in stackexchange.
0 votes
2 answers
146 views
Ignore "empty" fields when saving
My WordPress and PHP knowledge is limited, but I am working on a plugin, and in the admin page I have three settings - two text inputs and one checkbox. On save, the values are stored in the ...
0 votes
1 answer
266 views
Remove custom menu pages for admin users
I've added some custom menù pages to my WordPress dashboard using the add_menu_page() function. I need to remove these pages for super admin roles, but the remove_menu_page() seems not working. This ...
0 votes
1 answer
349 views
Import bootstrap 5 and bootstrap icons in wp-admin backend
I want to fully customize the wp-admin interface. I'm creating some plugins to remove the default menu pages and to add my custom pages, and seems working fine.Anyway I need to implement bootstrap 5 ...
0 votes
1 answer
267 views
Wordpress add menu items display slug too
Using the Wordpress menu system to add an item (product category in my case). I have categories with the same name, under a different parent category, so when i search for the category i want it may ...