Re: Adding menu items to the admin bar
function pages(){
?>
<li><a href=”#”>Pages</a>
<ul>
<li><a href=”http://www.animeonsen.com”>Home</a></li>
<li><a href=”http://www.animeonsen.com/about”>About</a></li>
<li><a href=”http://www.animeonsen.com/support-us”>Support us</a></li>
<li><a href=”http://www.animeonsen.com/advertise”>Advertise</a></li>
<li><a href=”http://www.animeonsen.com/anime-stores”>Anime stores</a></li>
<li><a href=”http://www.animeonsen.com/friends”>Friends</a></li>
<li><a href=”http://www.animeonsen.com/archives”>Archives</a></li>
<li><a href=”http://www.animeonsen.com/contact”>Contact</a></li>
</ul>
</li>
<?php
}
add_action( ‘bp_adminbar_menus’, ‘pages’, 15 );
That is what I did. (Sorry don’t know how to post the code as normal text!!!) It is not the best solution, but it works! Let me know if you figured out a better way.
Mod Edit// Less than angle brackets escaped – BB tags do not work .