The Admin Bar (respectively Toolbar since WordPress 3.3) is the dark band at the top of each site. It is only visible for signed in users in order to quick-administer the site via quick-links.

learn more… | top users | synonyms

4
votes
5answers
2k views

Remove top admin bar

whenever admin or any other user logs in a top bar menu ads up. Now I made login for everybody, so I do not want this bar. First I added display:none to admin-bar.css, but the main problem is that ...
0
votes
0answers
14 views

Change Admin Bar Login and Register Link - Buddypress 2.1.1

I am using wordpress 4.1 and buddypress 2.1.1 My theme provides its own lightbox for login and registration, but it only works for the login and register links that are generated by the theme, and ...
2
votes
1answer
17 views

How do I add an icon to a new admin bar item?

I have a function that adds items to the WordPress toolbar. For example: $args2 = array( 'id' => 'conversations_unread', 'title' => $visitor['conversations_unread'] . ' &nbsp ', ...
0
votes
0answers
20 views

My “edit page” link in admin bar has dissapeared

Since i did some customisation in custom permissions per custom post type the "edit news" / "view news" button that is displayed in the admin bar if you visit the news detail page has dissapeared. My ...
1
vote
2answers
925 views

Display wordpress admin bar outside wordpress in Magento?

I have been trying to get the admin bar to show up under a magento install. I have tried eveything to get it. I can get the user, get the footer but nothing happens to get the admin bar up. from ...
0
votes
2answers
715 views

WP admin bar only on some pages

I am trying to create my first wp theme. So far it has been quite nice experience, but now i have a problem that i don't quite understand. The Admin bar is showing only on some of my pages, on the ...
0
votes
4answers
169 views

Hide Front-End Admin Bar Including 32 px Spacing

I have a custom template and I inserted the following snippet to get rid of the admin bar for the page: function hide_admin_bar(){ return false; } add_filter( 'show_admin_bar', 'hide_admin_bar' ); ...
2
votes
1answer
1k views

Integrating the Wordpress admin panel with a frontend theme

I am building a Wordpress membership site where I need to collect user generated content in form of: -posts -events -classified ads I am using three plugins to accomplish this. However I need to ...
1
vote
2answers
148 views

How can I specify the position of an admin bar item added with $wp_admin_bar->add_menu() or add_node()?

I want to add a link to my site in the admin bar, and make that link the leftmost item in the admin bar. I can add a link with this in a plugin function: $wp_admin_bar->add_menu( array( ...
0
votes
1answer
252 views

Edit specific nodes in WP_Admin_Bar

Is it easily possible to edit links in the WP_Admin_Bar global $wp_admin_bar instance?
0
votes
0answers
13 views

Remove DEFAULT POSTS (not custom ones) in admin panel

I am trying to hide the post link in the menu in the admin panel, my code is the following. Any idea what might be wrong? I added that string at then end of my functions file. Thanks a dozen! ...
5
votes
1answer
851 views

what is __return_false in filters

I was thinking of removing/hiding admin-bar from my wordpress (3.1.1) installation. I visited following link: http://codex.wordpress.org/Plugin_API/Filter_Reference/show_admin_bar I was surprised ...
0
votes
0answers
20 views

Modification to admin bar Site Name does not change from one network site to other

The wordpress admin bar has a 'Site Name' section, that when clicked takes you to the dashboard if you're on the front end, or vice versa. The sitename code for the admin bar can be found in ...
3
votes
3answers
760 views

How can I remove the WP menu from the admin bar?

I never use the WP menu (the logo and its child items) except when I click it accidentally. And it is wasting my time when I navigate per keyboard. Plus, the support page is not our site. How can I ...
0
votes
1answer
110 views

After changing wp from subdirectory to root I can't preview any changes to a page or post

I followed the guideline from WP Codex. Changed the site url in general settings Copied the .haccess and the index.php files from the subdirectory to the root Edited the root index.php (new copied ...
1
vote
1answer
81 views

Deregister CSS style file from WP footer

When user is logged in WP add in its footer this CSS: <link rel='stylesheet' id='open-sans-css' href='//fonts.googleapis.com/css?family=Open+Sans....' type='text/css' media='all' /> That ...
0
votes
0answers
26 views

Admin bad not appearing in front end and cant get it back

I tried everything i found on the net: checking whether wr_header and wp_footer exist in my template (they do), checking my css (no rule is blocking it), checking whether the option is activated on my ...
0
votes
1answer
35 views

Manually add admin bar

Does anyone know how to include the admin bar in a page template where wp_head() and wp_footer() are not present? I'm developing a template other scripts and styles are just getting in the way. Rather ...
0
votes
0answers
11 views

How to call a FB function from an admin bar action?

I am using FaceBook's SDK inside of my wordpress application. I need to set up the application so when a user clicks log-out on the admin bar, it will fire facebook's log-out function. in order to ...
0
votes
1answer
19 views

How can I place a page link to the sidebar admin bar?

Im trying to create a function that place my page link http://mypage.com/mypage in the Admin Sidebar, not in the top Admin Bar like the code bellow does know. function toolbar_link_to_my_page( ...
1
vote
0answers
73 views

How can I remove menu items from “my sites” on a multi-site network?

I have a multi-network site, and so there's a menu in the WP Admin Bar that says "My Sites," and contains a list of the user's sites. I'd like to remove the root site from this list. I thought it'd be ...
0
votes
1answer
36 views

Top Admin Bar Never Shows Up

So I recently moved a site to a new domain and updated the URL to reflect the changes in the database as well as in the wordpress backend. wp_head and wp_footer are placed respectively in header.php ...
0
votes
2answers
31 views

How can I modify admin bar only if my plugin is loaded

If I want to always change the admin toolbar at the top of the page it's easy. add_action('admin_bar_menu', 'add_toolbar_items', 100); function add_toolbar_items($admin_bar){ ...
0
votes
0answers
22 views

WP Admin bar from subdomain included on main domain (non WP)?

I have a question regarding integrating the WP admin bar from a WP install on a subdomain into the main website (built only with HTML/PHP). I would just like to implement it so that users can login ...
4
votes
1answer
2k views

remove admin bar new post/link/media sub menu

I wish to remove the sub menus of post/link/media under the add new menu in the admin bar. I can remove the entire menu but I actually only want to remove the sub menu's ...
0
votes
1answer
28 views

Admin and Toolbar on the bottom, how to dropup menus?

I placed my adminbar in the dashboard and front end on the bottom, and I am having trouble on figuring out how to make the dropdown menus dropup. Also when the site is viewed in landscape on mobile ...
0
votes
0answers
15 views

Add item to admin bar as late as possible

I have an admin page in my plugin where I want to show a balance figure in the admin bar. This works fine for the most part: // in the __construct method add_action('admin_bar_menu', ...
1
vote
1answer
59 views

Open Admin bar “Visit site” in a new window

Is it possible to create a filter to make in sort that the link in the admin bar to open in a new window. I know that the right-click -> open in a new tab is a common use for us programmers but for ...
0
votes
1answer
144 views

Disable the admin bar / probleme with responsive menu

I am using a plugin called Disable WP Admin Bar Removal The goal : Disable the admin bar (back and frontend). I really want to disable this bar for the dashboard but if I want to use the ...
0
votes
0answers
64 views

Display Admin Bar on “Non-WordPress” PHP Page

On my WordPress multisite, I am generating a page directly from a .php file (http://example.com/sort.php) and would like to display the admin bar across the top of the page. While I am able to display ...
4
votes
6answers
6k views

WordPress admin bar overlapping twitter bootstrap navigation [closed]

I am having an issue with the WordPress admin bar overlapping the twitter bootstrap (2.3.0) nav bar. I have tried this fix: body.admin-bar .navbar-fixed-top { top: 28px; } .navbar .brand { ...
0
votes
2answers
422 views

Admin Top Bar Not Showing On Front End

i'm having problem with displaying admin top bar on my site. I googled and got some solution which i tried like 1) Checking wp_footer in footer.php 2) Checkbox ticked in user profile saying show ...
0
votes
3answers
2k views

Remove toolbar option (and set to default to no) in user profile

I don't want users to be able to choose to display the admin bar/toolbar when they log into wordpress. It doesn't have a function for those users. Instead I would like for admin users to have the ...
0
votes
3answers
592 views

remove admin bar show hide option from profile settings

Do not misunderstood. I am trying to remove/disable Show toolbar option (not talking about hide/disable admin bar) but talking about The Option into Profile Settings. I tried to search but in all I ...
1
vote
1answer
648 views

Top admin bar / toolbar not showing even when logged in, but empty top margin showing?

I wrote a theme and the top admin / tool bar is not showing. I still see an empty margin. Any ideas? Here the top margin I never set anywhere in my files. I actually want to show the toolbar ...
1
vote
1answer
81 views

How can I check if the admin bar is visible to the current user?

I'm new to WordPress. I would like to know Is the admin bar visible to all users and roles? If not, how can I check it is visible to the current user?
2
votes
1answer
58 views

Modify the WordPress admin bar CSS?

I want to remove how it adds 32px to the top of the HTML tag. It's dumping it there with a STYLE tag right at the end with !important. It's damn impossible to override it, because there are no hooks ...
0
votes
2answers
455 views

Excess White Space Above Admin Bar on Frontend Using Twitter Bootstrap

The problem (Excess White Space Above Admin Bar on Frontend Using Twitter Bootstrap): While logged in and viewing the frontend -- If you shrink your browser down, there is an excess amount of white ...
0
votes
0answers
80 views

WordPress Admin Bar Not Displaying Both Custom Drop-down Menus

I'm having trouble displaying two custom drop-down menus in the WP admin bar. What I want is the first drop-down to display the back-end (editing part) links of every page and the other to display the ...
0
votes
1answer
63 views

Add blog languages to blog-name inside my-site-list in admin-bar

I would like to add the language of every blog to the blogname inside the my-site-list inside the admin-bar. The result should look like this: For adding the languages to to the site-name in (1) I ...
0
votes
0answers
20 views

How can I add my_account_item to my custom theme?

Now I am creating a theme for my website. But now on my theme I need to add user account item (my_account_item()) that is shown on my admin bar. On above image shows my theme part and admin_bar. I ...
1
vote
1answer
2k views

Replace admin bar logo

WordPress 3.8 is out I have the following code to remove admin bar logo. function no_wp_logo_admin_bar_remove() { global $wp_admin_bar; $wp_admin_bar->remove_menu('wp-logo'); } ...
0
votes
1answer
114 views

Adminbar Missing “Edit Page”

I'm encountering a problem that involves that my Admin bar doesn't show the "Edit Page" on pages I visit on my site. Instead for some odd reason it show "Edit Category" instead on supposed page. Does ...
0
votes
0answers
83 views

disable admin-bar search field for specific roles

I would like to disable the admin bar search field when certain users, belonging to specific roles are logged in. I would like to keep the search field available for the role 'admin', but not others. ...
6
votes
3answers
5k views

How do I remove the admin bar (styling) from frontend only?

When logged in, the admin bar adds the following to my page <head> section: <style media="screen" type="text/css"> html { margin-top: 28px !important; } * html body { margin-top: ...
2
votes
4answers
2k views

Change existing label in the admin bar with something else

In the admin bar an admin can create a new post by using the add new drop down. In there I want to change the label Post to something else. How can I do this? I just need the code to make the change ...
0
votes
1answer
56 views

call adminbar greeting in other place

I have disabled wordpress adminbar by adding this filter: add_filter('show_admin_bar', '__return_false'); But I still want to use it's greeting in other place. By greeting I mean a dropdown menu ...
0
votes
2answers
92 views

How to hide “post” link from the admin bar

After studying several blogs, I figured out that to add/edit/delete admin bar items need to do something like this: add_action( 'wp_before_admin_bar_render', 'wpse20131211_admin_bar' ); function ...
0
votes
1answer
107 views

How to call for bloginfo inside function in functions.php?

I am new to WordPress and PHP, so I have this question: I want to add a Link to the "New Post" for a Custom Post Type I implemented. But it will only let me put static links, connected to my ...
7
votes
3answers
4k views

remove “edit your profile” from admin menu bar

How can I remove "edit your profile" submenu under "my-account-with-avatar" admin menu bar, while still keeping the avatar and logout?