Title: Need Admin Bar&#039;s Full Code
Last modified: August 21, 2016

---

# Need Admin Bar's Full Code

 *  [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/need-admin-bars-full-code/)
 * Hey, I was trying to edit my admin bar and it caused some problems. please post
   full code of admin bar. I’m using latest wordpress version.

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/need-admin-bars-full-code/#post-3718351)
 * What do you mean by “trying to edit my admin bar”? What _exactly_ did you do?
 *  Thread Starter [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/need-admin-bars-full-code/#post-3718354)
 * [@esmi](https://wordpress.org/support/users/esmi/) I tried to remove wordpress
   image menu option (full list) from admin bar. It’s working fine on site but showing
   following error on admin panel:
 * >  Warning: call_user_func_array() expects parameter 1 to be a valid callback,
   > function ‘wp_admin_bar_wp_menu’ not found or invalid function name in /home/
   > content/01/10875201/html/wp-includes/plugin.php on line 487
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/need-admin-bars-full-code/#post-3718355)
 * What _exactly_ did you do? What files did you edit?
 *  Thread Starter [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/need-admin-bars-full-code/#post-3718357)
 * [@esmi](https://wordpress.org/support/users/esmi/) i edited admin-bar.php
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/need-admin-bars-full-code/#post-3718359)
 * Download a fresh copy of WordPress, extract wp-includes/admin-bar.php and upload
   that file to your site’s wp-includes folder. Then promise to never, ever, edit
   a WordPress core file again – otherwise a kitten will die. 😉
 * Seriously, editing core scripts can bring down your entire site and/or open security
   holes for hackers to use. Just don’t do it.
 * If you want to add something to the admin bar, post here or in the Hacks forum
   asking to help to do it the _correct_ way.
 *  Thread Starter [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/need-admin-bars-full-code/#post-3718361)
 * [@esmi](https://wordpress.org/support/users/esmi/) thanks for the info…it’s showing
   following on admin panel
 * `Warning: call_user_func_array() expects parameter 1 to be a valid callback, 
   function 'wp_admin_bar_wp_menu' not found or invalid function name in /home/content/
   01/10875201/html/wp-includes/plugin.php on line 487`
 * Can you please reply with admin-bar.php’s full code from your site’s template.
   I’am on a slow network, it’ll be hard to download full wordpress again. Thanks
 *  Thread Starter [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/need-admin-bars-full-code/#post-3718362)
 * [@esmi](https://wordpress.org/support/users/esmi/) wait..I found it online…let
   me see if it works
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/need-admin-bars-full-code/#post-3718365)
 * Sorry but no. We do not post whole chunks of core files here. You need to download
   a fresh copy of WordPress.
 *  Thread Starter [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/need-admin-bars-full-code/#post-3718370)
 * [@esmi](https://wordpress.org/support/users/esmi/) it worked…can you help me 
   with this now? [http://wordpress.org/support/topic/how-to-remove-wordpress-menu-list-from-admin-bar](http://wordpress.org/support/topic/how-to-remove-wordpress-menu-list-from-admin-bar)
 * I’m teen and news to wp. I edited and customized lots of files but not this one.
 *  Thread Starter [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/need-admin-bars-full-code/#post-3718388)
 * [@esmi](https://wordpress.org/support/users/esmi/) Great news… Instead of messing
   with codes. I hid that by adding following css :p
 * .wp-admin-bar-wp-logo{
    display:none }

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Need Admin Bar's Full Code’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 2 participants
 * Last reply from: [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/need-admin-bars-full-code/#post-3718388)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
