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.
Related Functions: wp_admin_bar_wp_menu, _get_admin_bar_pref, wp_admin_bar_updates_menu, show_admin_bar, _wp_admin_bar_init
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 }