WP 3.2.1 using BP 1.5 upgraded from 1.2.10
Using Custom Theme (Upstart Blogger Futurosity)
Using Subdomains
I wanted to make a new drop down menu from the buddybar and finally found this bit of code – which I put into a bp-custom.php file:
<?php
function pages() { global $bp; ?>
<li><a href="//www.mysite.com”">Community</a>
<ul>
<li><a href="//www.mysite.com/activity/”">The Stream</a></li>
<li><a href="//www.mysite.com/blogs/”">Members Blog Activity</a></li>
<li><a href="//www.mysite.com/members/”">Members Directory</a></li>
<li><a href="//www.mysite.com/groups”">Public Groups</a></li>
<li><a href="//www.mysite.com/about/become-a-member/”">Join</a></li>
<li><a href="//www.mysite.com/about/contact/”">Contact</a></li>
</ul>
</li>
<?php
}
add_action( 'bp_adminbar_menus', 'pages', 3 );
?>
The menu appears, but the links that appear in the browser’s address bar are doubled, like this:
http://www.artist-at-large.com/%EF%BF%BDhttp:/www.artist-at-large.com/activity/%EF%BF%BD
I’ve tried a number of variations of this file with the same results.
I also would like to make this particular drop down menu viewable by the public, ie: those not logged in.