Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Coppa WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Come nascondere le voci di menu non necessarie dall’amministrazione di WordPress

Nota editoriale: guadagniamo una commissione dai link dei partner su WPBeginner. Le commissioni non influenzano le opinioni o le valutazioni dei nostri redattori. Per saperne di più su Processo editoriale.

Vi siete mai chiesti se sia possibile ripulire l’area di amministrazione di WordPress per voi e per i vostri utenti?

Nell’area di amministrazione di WordPress (wp-admin) ci sono molte cose che i vostri utenti, autori o clienti non hanno bisogno di vedere o utilizzare. Ripulire l’area di amministrazione aiuta a concentrarsi solo sulle opzioni di cui hanno bisogno, senza distrazioni.

In questo articolo vi mostreremo come nascondere gli elementi non necessari dall’amministrazione di WordPress.

How to hide items from WordPress admin

Perché nascondere le voci del menu Admin in WordPress?

Nell’area di amministrazione di WordPress ci sono molti menu, sottomenu, opzioni e impostazioni di temi e plugin che si possono modificare in qualsiasi momento. Alcune di queste voci del menu di amministrazione di WordPress includono i widget della dashboard, l’area di modifica dei post, i plugin, l’aspetto, gli strumenti e altro ancora.

Tuttavia, la maggior parte di queste opzioni di menu non viene utilizzata quotidianamente e finisce per ingombrare la schermata di amministrazione. Se gestite un sito WordPress con più autori o se avete clienti che visitano l’area di amministrazione, è buona norma ripulire il pannello di amministrazione di WordPress.

Dovreste mantenere solo i menu e le opzioni utili per i vostri autori e clienti e nascondere il resto dei sottomenu.

È inoltre possibile disattivare gli elementi in base ai ruoli degli utenti, creando interfacce di amministrazione diverse per gli utenti con ruoli e capacità diverse sul vostro sito WordPress.

Detto questo, vediamo come rimuovere le voci di menu non necessarie dall’amministrazione di WordPress.

Nota: questa guida riguarda il menu di amministrazione del backend che un utente registrato sul vostro sito vede quando accede.

Se volete personalizzare i menu di navigazione che tutti i visitatori del vostro sito web vedono, allora dovreste consultare la nostra guida passo-passo su come aggiungere un menu di navigazione in WordPress.

Video tutorial

Subscribe to WPBeginner

Se preferite le istruzioni scritte, continuate a leggere.

Come nascondere specifiche voci del menu Admin di WordPress

Il modo più semplice per nascondere i menu e le voci dalla dashboard di amministrazione di WordPress è utilizzare il plugin Admin Menu Editor. Si tratta di un plugin gratuito per WordPress che consente di modificare i titoli dei menu, gli URL, le icone e altro ancora.

È inoltre possibile nascondere le voci di menu dalla barra laterale di amministrazione, impostare i permessi per i ruoli degli utenti e trascinare le voci di menu per organizzare la barra di amministrazione di WordPress.

Per prima cosa, è necessario installare e attivare il plugin Admin Menu Editor. Per maggiori dettagli, consultate la nostra guida su come installare un plugin di WordPress.

Dopo l’attivazione, potete andare su Impostazioni ” Editor di menu dalla vostra dashboard di WordPress. In questa pagina di impostazioni, vedrete tutte le voci di menu e sottomenu sotto la scheda “Admin Menu”.

Rearrange admin menu items

È possibile trascinare e rilasciare le voci di menu per riorganizzarne l’ordine. È inoltre possibile rimuovere o aggiungere nuove voci di menu.

Quindi, fare clic sulla freccia verso il basso di ogni voce di menu per visualizzare altre opzioni. È possibile rinominare il titolo del menu, cambiare la pagina di destinazione e altro ancora.

Change menu item settings

Per nascondere una voce di menu dell’amministratore a un utente specifico, è sufficiente fare clic sul menu a discesa “Capacità extra”. Successivamente, è possibile scegliere il ruolo dell’utente che può visualizzare la voce di menu tra le opzioni disponibili.

Ad esempio, supponiamo di voler nascondere il menu Media e i suoi sottomenu per tutti i ruoli utente, tranne che per l’amministratore. Per farlo, basta fare clic sul menu a discesa “Capacità extra” e scegliere “Amministratore” tra i ruoli.

Choose user role to hide menu item

Al termine, salvare le modifiche.

Ora, la voce di menu Media sarà visibile solo al ruolo di Amministratore e sarà nascosta agli altri ruoli utente.

Se qualcuno tenta ancora di accedere alla voce di menu nascosta digitando l’URL, vedrà il messaggio di errore“Non hai i permessi sufficienti per accedere a questa pagina di amministrazione”.

Restricted error message

A questo punto è possibile ripetere questi passaggi per nascondere altre voci del menu di amministrazione e plugin per diversi utenti.

Per ulteriori modi di personalizzare l’amministrazione di WordPress, potete consultare queste guide:

Speriamo che questo articolo vi abbia aiutato a nascondere gli elementi non necessari dall’area di amministrazione di WordPress. Vi consigliamo di consultare anche il nostro tutorial completo su WordPress per l’ottimizzazione dei motori di ricerca (SEO) e i migliori plugin WooCommerce.

Se questo articolo vi è piaciuto, iscrivetevi al nostro canale YouTube per le esercitazioni video su WordPress. Potete trovarci anche su Twitter e Facebook.

Divulgazione: I nostri contenuti sono sostenuti dai lettori. Ciò significa che se cliccate su alcuni dei nostri link, potremmo guadagnare una commissione. Vedi come WPBeginner è finanziato , perché è importante e come puoi sostenerci. Ecco il nostro processo editoriale .

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Il kit di strumenti WordPress definitivo

Ottenete l'accesso gratuito al nostro kit di strumenti - una raccolta di prodotti e risorse relative a WordPress che ogni professionista dovrebbe avere!

Reader Interactions

42 commentiLascia una risposta

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Austin says

    Hello:
    I am trying to remove the widget tab from the dropdown menu under the page url for editors.
    When you are logged in and have hit the “visit site” option under the site url in the upper left hand corner, then you hover back over the site url, it now shows options in the drop down, i.e dashboard, widgets, menu. I would like to remove widgets from this menu for editors.
    Thanks

    • WPBeginner Comments says

      Something like Widgets would be under the Appearance dropdown.

      In the Admin Menu Editor plugin settings, you would select the Appearance dropdown, and then the Widget dropdown on the right menu.

      You can then assign the ‘Extra capability’ needed for that feature.

  3. Jiří Vaněk says

    I have been using the website every day for about a year and a half. During that time, I have already installed almost everything I need for my work, but the truth is that it now has twice as many items and practically I need maybe half of it. Is it necessary to install a plugin, or can some parts of the menu be hidden with a snippet? He would like to avoid another plugin.

    • WPBeginner Support says

      You would want to use the load default menu button on the side to return to the default menu.

      Admin

  4. Howard Hue says

    Hey. Don’t use a plugin just use a conditional IF statement. There are a bunch you can use but here are a couple good ones to add to your functions or custom functions file.

    If you’re savvy with WP and some light coding this is the best alternative to a plugin by far, in my opinion.

    // Remove a main menu page link on admin/dash

    remove_menu_page( ‘$mainmenu-sluge’ );

    // Remove a main menu’s submenu link on admin/dash

    remove_submenu_page( ”$mainmenu-slug”, ”$submenu-slug”);

    Hope this helps.

    • WPBeginner Support says

      Thank you for sharing this, our guides are designed for beginners that don’t have coding knowledge first but for those looking for an alternative, this could be a helpful option.

      Admin

  5. Kumar says

    we have wordpress site, in our admin panel settings and Appearance not available, don”t why…whats the problem…

    • WPBeginner Support says

      Your user may not be an admin user for your site if you had someone else set it up for you.

      Admin

  6. Kenneth Bryan Domingo says

    Hi! I want to hide the tutorial tab on my menu but I can’t find it can anyone help me? I can send you pictures of it. Thanks!

    • WPBeginner Support says

      If the menu is added via a plugin then you would want to reach out to your plugin’s support and they should be able to help you with hiding it.

      Admin

  7. Hurab says

    please guide how to disable the notification for editor. i have tried already but still can see.

    Pleaseguide

    • WPBeginner Support says

      There should be the option to disable admin notices depending on the notices you no longer want to appear.

      Admin

  8. KITHO says

    How can I hide some menu items for only certain Administrators not all of them? Because there are admins that I don’t want to touch on any design/customizations.

  9. Ron says

    Hi,

    Any news/info/solution/… about those flags! I have just installed plugin (super cool I must say), add demo user, playing with restrictions, logged in on another machine as demo user… ok. Done this “To view your changes to the menu you need to navigate away from the Adminimize settings page.” several times…

    But on the end of a day if this demo user would call me and said “I don’t see Woocommerce”… Well demo user! I see no flags on your Woo…

    Good for me to add demo user. I think I said enough.

    Br,

  10. Julie says

    I didn’t know this plugin, it’s amazing! Thank you so much for making me discover it, you saved my life haha

  11. Giovanni says

    Hello.
    After the last update 1.10.1 no longer see the flags of the things that I selected.
    How can I do?

    Thanks in advance.

  12. Sherry says

    If I have role1 and role2 and each role has their own sidebar widget. Is there a way to add a hook so that when role1 is logged in they will only see sidebar widget1 and when role2 is logged in they will only see sidebar widget2. (see and be able to edit their own widget)
    Currently adminimize allows me to show or hide sidebar so there is no way to specify which sidebar widget.

    Thanks

  13. Patrick says

    This saved me alot! I have this annoying client that keeps on destroying a customized (hard-coded) theme by resetting the appearance theme option on purpose to keep on demanding for unnecessary revisions. Now they can only edit posts which is suppose to be what the client should only be doing. :D Thanks alot for this!

  14. robert says

    i think is better to use of hack rather than using too many plugins and most of them has bug also, which allow hackers kill your website! for example here i share you some of those codes to hide admin items:

    function remove_dashboard_widgets() {
    global $menu,$submenu;

    global $current_user;
    get_currentuserinfo();

    if ($current_user->ID != 1) { // only admin sees the whole thing
    // $menu and $submenu will return fo all menu and submenu list in admin panel .
    $menu[2] = “”; //Dashboard
    $menu[5] = “”; // Posts
    $menu[15] = “”; //Links
    $menu[25] = “”; //Comments
    $menu[65] = “”; //Plugins

    unset($submenu[‘themes.php’][5]); //themes
    unset($submenu[‘themes.php’][12]); //editor
    }
    }
    add_action(‘admin_head’, ‘remove_dashboard_widgets’);

    • Linda says

      Robert, your information is interesting. But as a non-coder, I wouldn’t know where to put this little nugget. Any more info on that?

    • Gozie says

      you’re right, and I used your code, it worked well. but how did you come up with this and how can I use it for more security like disabling access to some other sections of my website. thanks.

  15. gina says

    I have comments deactivated in adminimize in the menu options but it stil shows up on the admin screen for all users. I would like only admins and editors to see the comments.

  16. Matt Rock says

    While the article is promising, as of this writing the plugin is compatible up to version 3.6 and hasn’t been updated in almost a year.

    I currently update the functions file using a great tutorial by Justin Tadlock (http://tinyurl.com/qda95ap) but this plugin looks like it would really streamline the process.

    Does anyone know of a similar plugin which is actively maintained and
    compatible with the latest version of wordpress (currently 3.9)?

  17. e-rik says

    While the possibilities of this plugin are very nice and extensive, It misses one giant thing: the possibility to minimize the dashboard for certain administrators. On my client’s sites I want to maintain full access on my own admin account and limit the client’s admin acount(s). Or did I miss something and is this possible?

  18. WPBeginner Staff says

    Yes it is multisite compatible. We will try to cover the scaling of multisite WordPress in some future article. Thanks for the suggestion. However, for the time being try using plugins that are well coded, come highly recommended, and are well documented.

    • lucky says

      I installed it on multisite but wanted to control these things network wide not site by site. I could see no way to do that.

  19. ThatK1dB says

    This is great. i just had a client with no knowledge of WP and had to disable certain features so he didn’t blow this thing up. This plugin has helped. Also, very easy to use.

    Thanks!

    • Jeff says

      I agree. Same problem. Easy to deactivate permissions, but an editor in itself does not have access to certain features which mean I need to give admin role to managers of the site. Then I “deactivate” features and me too as an admin lose the same permissions! Weird.

      This plugin is undiectional – yuo can deactivate but not asctivate permissions.

  20. aathi says

    is it multisite compatible ? And also can you do a post on scaling a multisite along with plugins ?it will be useful for us.We are finding it difficult to find info about wordpress multisite. Your help will be appreciated.

  21. RW says

    This looks like an amazing plugin! Wow, I wonder if something this powerful adds a lot of weight and queries to the database. Does this plugin slow down editing the site?

Lascia una risposta

Grazie per aver scelto di lasciare un commento. Tenga presente che tutti i commenti sono moderati in base alle nostre politica dei commenti e il suo indirizzo e-mail NON sarà pubblicato. Si prega di NON utilizzare parole chiave nel campo del nome. Avremo una conversazione personale e significativa.