SHARE
TWEET

Add navigation in Buddypress Admin bar

a guest Jul 26th, 2010 1,526 Never
  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. ?>
RAW Paste Data
Top