This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Remove extra adminbar margin from buddypress

By: Confused on Apr 29th, 2013  |  syntax: None  |  size: 0.20 KB  |  views: 54  |  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. }
clone this paste RAW Paste Data