Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to: Add a new menu section


Tutsie
Participant

@tutsie

there was a typo in my last post, the file should look like this instead

<?php

function add_test_to_main_menu() {
echo '<li> <a href="http://yoursite.com/Url-of-test/">Test</a></li>';

}

add_action('bp_nav_items', 'add_test_to_main_menu');

?>

I forgot to add the > after <li

see if that works

Skip to toolbar