Sposta la barra di amministrazione di WordPress in basso - Trucchi CSS

Sommario

Solo pre WordPress 3.3. O aggiungi questo CSS al tuo file CSS, aggiungi tutto il codice al tuo file functions.php o crea un piccolo plugin veloce.

function fb_move_admin_bar() ( echo ' body ( margin-top: -28px; padding-bottom: 28px; ) body.admin-bar #wphead ( padding-top: 0; ) body.admin-bar #footer ( padding-bottom: 28px; ) #wpadminbar ( top: auto !important; bottom: 0; ) #wpadminbar .quicklinks .menupop ul ( bottom: 28px; ) '; ) // on backend area add_action( 'admin_head', 'fb_move_admin_bar' ); // on frontend area add_action( 'wp_head', 'fb_move_admin_bar' );

Articoli interessanti...