Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Add navigation in Buddypress Admin bar

By: a guest on Jul 26th, 2010  |  syntax: PHP  |  size: 0.41 KB  |  views: 1,182  |  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. <?php
  2.  
  3. function pages(){
  4. ?>
  5.  
  6. <li><a href="#">Whiskies</a>
  7. <ul>
  8. <li><a href="http://chwisgi.com/blended/">Blended</a></li>
  9. <li><a href="http://chwisgi.com/single-malt/">Single malt</a></li>
  10. <li><a href="http://chwisgi.com/straight-wheat/">Straight wheat</a></li>
  11. <li><a href="http://chwisgi.com/tennessee/">Tennessee</a></li>
  12. </ul>
  13. </li>
  14.  
  15. <?php
  16. }
  17. add_action( 'bp_adminbar_menus', 'pages', 15 );
  18.  
  19.  
  20.  
  21. ?>
clone this paste RAW Paste Data