wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



_admin_bar_bump_cb › WordPress Function

Seit3.1.0
Veraltetn/v
_admin_bar_bump_cb ( Keine Parameter )
Definiert in:
Codex:

Prints default admin bar callback.



Quellcode

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
}