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
0answers
16 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
28 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
22 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
18 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
15 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 ...
0
votes
1answer
17 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
12 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
18 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
64 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
2answers
109 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
1answer
176 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 ...
0
votes
0answers
51 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 ...
1
vote
1answer
59 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
54 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
244 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
63 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
51 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
19 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 ...
0
votes
1answer
81 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
49 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. ...
0
votes
1answer
53 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
336 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 ...
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
2answers
68 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
72 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 ...
1
vote
1answer
88 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( ...
1
vote
2answers
140 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
2answers
42 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
97 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.
1
vote
1answer
66 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
107 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 ...
0
votes
1answer
32 views

How to remove only pages from Admin Bar?

How can I remove only pages from Admin Bar?
0
votes
2answers
91 views

How to include the admin bar?

I'm working on a plugin which needs a custom Preview page. In this page i call the neccessary wp functions(wp-load.php & wp-admin/includes/admin.php). The problem is, that the admin bar is not ...
0
votes
1answer
99 views

Change path/url of admin-bar.min.css

Does anyone know where admin-bar.min.css is registeded/included? Im trying to add a slash in front of admin-bar.min.css, so the admin bar will work correctly on all pages. Im playing arround with a ...
0
votes
1answer
100 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 ...
1
vote
1answer
151 views

wp_before_admin_bar_render action not working in back office

This is working great in the front site wp admin bar: add_action('wp_before_admin_bar_render', 'customize_admin_bar'); function customize_admin_bar() { global $wp_admin_bar; if ...
0
votes
1answer
93 views

Why do previews work in one browser, but not another?

I keep having an intermittent issue where the admin bar disappears from a wordpress site I often use, when using my main browser (Google Chrome). I can access /wp-admin/ no problem, and another ...
0
votes
1answer
140 views

How to display admin bar when using wp_use_themes = false?

So I'm using Wordpress in a 'themeless' manner, i.e. not using a "blog" template. My site files are in the root directory (not in the theme folder), and Wordpress is installed in its own /wordpress/ ...
1
vote
1answer
217 views

Change the link of 'Howdy' at the top right

I'd like to change where the 'Howdy' link gets you when you click on it. I have a website with buddypress and instead of getting users to their profile page I want to get them to their 'Activity' ...
0
votes
1answer
154 views

Custom Div with links on Admin Bar

I'm trying to add an area on the admin bar that will display user Profile Image, User Name, User Email, User role, and links to Edit Profile and signout. The way in which I would like it to display is ...
1
vote
2answers
2k views

Hide widgets/plugins from dashboard

I have two plugins in the dashboard, SEO Wordpress and Custom Content Type Manager, and for security reasons I want to hide these from dashboard. How to do that? I tried to hide the SEO Wordpress ...
0
votes
1answer
157 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
1answer
132 views

Exclude admin bar from showing avatar customization

I am customizing the WP avatar (to fit a grid) and do not want the avatar customization to show on the admin bar drop down or in the dashboard or on the site (when the admin bar is visible). I have ...
2
votes
1answer
71 views

Question about how global $wp_admin_bar works

So, I ran into an interesting issue while adding some admin menu bar links today. When adding links to a parent menu using something like: // Add the parent menu $wp_admin_bar->add_menu( array( ...
2
votes
6answers
4k 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
1k views

Custom post type, taxonomy and admin bar

I have two kind of post types in my WordPress website: "Articles" which is the classic post type "Breves" which is a custom post type I want them to share the same standard categories and post ...
1
vote
4answers
1k views

Disable the admin bar

I have the WP3.4 and I would like to disable the admin bar. I have tried to do that with many ways, but the admin bar do not display. Is possible to do on this version of WP (3.4) or i make a mistake ...