I want to customize the buddypress admin bar, so I created this file and put it in the plugins folder: bp-custom.php
Here is a copy of the code: http://pastebin.com/PcQRMXyJ
How can I make the first link the main link and the others dropdowns?
First, you may want to consider using the WP toolbar (which features full BP integration), because the BP BuddyBar will not continue to be supported in future versions of BP. (It will probably still work, but it won't be actively upgraded.) Flip the Toolbar on by putting
Second, if you are going to stick with the BuddyBar for now, you should just be able to create the dropdowns by putting nested