Changeset 2006
- Timestamp:
- 09/30/2009 04:55:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-sn-parent/functions.php
r1926 r2006 68 68 add_action( 'wp', 'bp_dtheme_show_home_blog', 2 ); 69 69 70 /* Override the Admin Bar CSS if it has been disabled */ 71 function bp_dtheme_override_adminbar_css() { 72 if ( defined( 'BP_DISABLE_ADMIN_BAR' ) || ( get_site_option( 'hide-loggedout-adminbar' ) && !is_user_logged_in() ) ) { 73 ?> 74 <style type="text/css">body { padding-top: 0 !important; }</style> 75 <?php } 76 } 77 add_action( 'wp_footer', 'bp_dtheme_override_adminbar_css' ); 78 70 79 ?>
Note: See TracChangeset
for help on using the changeset viewer.