Re: need a ‘button’ in the bar
No more difficult, but functions need different names for example, this brings 3 buttons in:
<?php
function add_forum_link() {
echo '<li><a href="http://yourdomain.com/your-smf-url.php">Forums</a></li>';
}
function add_about_link() {
echo '<li><a href="http://yourdomain.com/about.php">About</a></li>';
}
function add_download_link() {
echo '<li><a href="http://yourdomain.com/downloads.php">Downloads</a></li>';
}
add_action( 'bp_nav_items', 'add_forum_link' );
add_action( 'bp_nav_items', 'add_about_link' );
add_action( 'bp_nav_items', 'add_download_link' );
?>
All can be in the same file called extras-links.php or whatever in /mu-plugins/ or you could create 3 seperate files with the functions, but if you have many, it is better in one plugin I think.
Trent