Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Adding links to admin bar


enlightenmental1
Participant

@enlightenmental1

question

I’ve hand coded the bp-core-admin-bar.php to add additional links

and add a If(user_is_logged_in) so I can switch links when the user logs in..

but my li / ul aren’t creating droppdowns

example


<li> main link </li>
<ul>
<li>sub link</li>
<li>sub link</li>
</ul>

instead of getting the sub-links to show as a dropdown, they show up as new “main links”

I am aware of the no-arrow class but are there more css classes to add to these items to make them become a drop down?

here’s my complete code:

Skip to toolbar