Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Remove extra adminbar margin from buddypress

By: Confused on Apr 29th, 2013  |  syntax: None  |  size: 0.20 KB  |  hits: 51  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. /* This should be added to functions.php or bp-custom.php */
  2.  
  3. add_action(‘get_header’, ‘my_filter_head’);
  4.  
  5. function my_filter_head() {
  6. remove_action(‘wp_head’, ‘_admin_bar_bump_cb’);
  7. }