Matt Fiddles

Life's so vast, there's just so much to do...

User Tools

Site Tools


Sidebar

“I find the great thing in this world is not so much where we stand, as in what direction we are moving: To reach the port of heaven, we must sail sometimes with the wind and sometimes against it, but we must sail, and not drift, nor lie at anchor”
- Oliver Wendell Holmes



Where will you go today?

"Ohhh! Great warrior!" [laughs and shakes his head]
"Wars not make one great!"

- Yoda--The Empire Strikes Back
computers:websites:wordpress:admin-bar

Wordpress Admin Bar

To edit the placement of it, remember:

@media screen and (max-width:400px) and (max-height:600px)

To remove admin bar

add_filter( 'show_admin_bar', '__return_false' );

or

if (!current_user_can('administrator')) :
  show_admin_bar(false);
endif;

or to make it so it doesn't scroll: (add to theme style sheet)

/* Do not have admin bar always hovering, and show pic popups over it */
#wpadminbar{
	top: 0px;
	position: absolute;
	z-index: 9999; /* allow lightbox and other things to cover it */
}
computers/websites/wordpress/admin-bar.txt · Last modified: Apr 22, 2014 (4 years ago) by Matt Bagley