Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5837997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T11:25:15+00:00 2026-05-22T11:25:15+00:00

Trying to modify the menu in the dashboard a bit. I’m trying to remove

  • 0

Trying to modify the menu in the dashboard a bit.

I’m trying to remove the toggle option everywhere it’s present, and find someway to force the menus to always be expanded, is this possible? (toggle button: http://dl.dropbox.com/u/3618143/toggle.png)

Also want to remove the minimize option (which lets you only show icons in the menu bar). I’ve been able to remove the actual icon, but the functionality is still there (invisible link). So removing the actual image is not the problem, I’ve managed to remove that, the functionality however is still there.
(http://dl.dropbox.com/u/3618143/minimize.png)

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T11:25:15+00:00Added an answer on May 22, 2026 at 11:25 am

    Have the same need: remove the “un/fold” functionality from the WP admin menu bar, to remove clutter, but without tinkering with the source file.

    I found out in wp-admin/menu.php that the separators are stored in index 4,59,99.

    Here is the function to add to your functions.php

        function pxln_remove_menu_items() {
    
                global $menu;
    
    //an array with menus to remove (use their title)
                $restricted = array(__('Posts'),__('Links'), __('Comments'), __('Media'), __('Separator'));
    
    // keys of the unfolders
                unset($menu[4]);
                unset($menu[59]);
                unset($menu[99]);
                end ($menu);
                while (prev($menu)){
                    $value = explode(' ',$menu[key($menu)][0]);
                    if(in_array($value[0] != NULL?$value[0]:"" , $restricted)) {
                        unset($menu[key($menu)]);
                    }
                }
        }
    
        add_action('admin_menu', 'pxln_remove_menu_items');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been trying to find a way to display a side-menu generated from a
I'm trying to modify the following query to find the rank of a specific
I am trying to modify a Makefile, and I can't find the rule for
I'm trying to modify my GreaseMonkey script from firing on window.onload to window.DOMContentLoaded, but
I'm trying to modify the class of an element if an ajax call based
I am trying to modify the output stream to search/replace some XHTML tags returned
I'm currently trying to modify some HttpWebRequest functions, but I can't do it through
I'm trying to modify the contents of an MSI file using Powershell. To do
I'm trying to modify the UI of a Redmine installation (Redmine 0.7.3.devel.2093 (MySQL)). When
Hi I'm trying to modify a web page so that it loads faster. Since

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.