wpseek.com
A WordPress-centric search engine for devs and theme authors



_admin_bar_bump_cb › WordPress Function

Since3.1.0
Deprecatedn/a
_admin_bar_bump_cb ( No parameters )
Defined at:
Codex:

Prints default admin bar callback.



Source

function _admin_bar_bump_cb() {
	$type_attr = current_theme_supports( 'html5', 'style' ) ? '' : ' type="text/css"';
	?>
<style<?php echo $type_attr; ?> media="screen">
	html { margin-top: 32px !important; }
	@media screen and ( max-width: 782px ) {
		html { margin-top: 46px !important; }
	}
</style>
	<?php
}