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

0
votes
2answers
410 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 ...
2
votes
1answer
811 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 ...
0
votes
0answers
6 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 ...
1
vote
2answers
841 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
1answer
18 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( ...
0
votes
2answers
21 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' ); ...
1
vote
0answers
35 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
0answers
41 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 ...
0
votes
1answer
28 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
25 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
18 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
20 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
25 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
75 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
53 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 ...
3
votes
3answers
710 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 ...
2
votes
6answers
5k 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
148 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
490 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
265 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
67 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
56 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
288 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
72 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
53 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
1k 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
87 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
53 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
4k 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
55 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 ...
1
vote
1answer
106 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
2answers
73 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
86 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
3k 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?
5
votes
2answers
1k views

Modify Admin Bar Link

Starting on line 474 of /wp-includes/admin-bar.php there is a function that is declared as the following: function wp_admin_bar_new_content_menu( $wp_admin_bar ) What it does it generates the + New ...
1
vote
2answers
148 views

How to remove admin bar logo in WordPress using plugin

I'm following the instructions from this page to remove the adminbar wordpress logo and cannot quite understand why this is not working in a plugin I have created. // Hide top left WordPress logo ...
0
votes
1answer
38 views

How can I modify text in admin bar?

I am looking to change 'register' to 'join' in the wp admin bar for logged out users. How can this be achieved?
0
votes
1answer
107 views

Adding new parent item to admin bar

I see many questions have been asked about adding something to the admin bar, but still I can't get a new 'parent' admin-bar item for Advanced Custom Fields to work. The admin bar doesn't show up if I ...
0
votes
2answers
43 views

How can a left and right margin be added to the admin bar without access to “…wp-includes/admin-bar.php”?

I do not have access to "wp-includes/admin-bar.php" due to security restrictions placed by my host, they have advised me to use css stylesheets which I am not familiar with. I am looking to add a ...
1
vote
1answer
103 views

Toolbar/topbar missing on homepage only?

My theme seems to have the <?php wp_footer() ?> and <?php wp_head() ?>, yet it's still not showing on the homepage of my site. However, it is visible on all other pages and posts.
0
votes
1answer
46 views

Display Admin Bar when Logged

I am unable to display the admin bar in the front end while the user is logged in to the admin.I have the wp_footer() and the checkbox in the user profile is checked too. can some one please help.
0
votes
1answer
119 views

Frontpage Admin Bar Disappeared

I am on a multisite network. Recently my frontpage admin bar dissappeared but continued to show at backend. I disabled all the plugins, changed theme to twenty ten and twenty twelve also, but no ...
1
vote
1answer
71 views

Loading Admin Toolbar in header not Footer to Scroll it with page

I'm trying to load the admin toolbar on the front end immediately after the head tag in my header. I'm trying to achieve something like this as opposed to how it usually gets loaded at the end of the ...
0
votes
0answers
23 views

Admin bar list menu

I'm trying to get all admin bar menu in array format from there I can get the link and menu name. The solution that I'm thinking is that get first the adminbarmenu link then get the name of is then ...
0
votes
1answer
32 views

How to remove only pages from Admin Bar?

How can I remove only pages from Admin Bar?