Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 1 replies (of 1 total)

  • sqrr
    Participant

    @sqrr

    Of course! A huge thx to Andy as well! He’s any way like Santa! brings us all this lovely stuff which makes us happy ;)

    Jep, added that correctly and the button/tap is shown.

    function add_location_to_main_menu() {

    $class = (bp_is_page(\'countries\')) ? \' class=\"selected\" \' : \'\';

    echo \'<li \' . $class. \'><a href=\"\' . get_option(\'home\') . \'/countries\" title=\"\' . __( \'Countries\', \'buddypress\' ) .\'\">\' . __( \'Countries\', \'buddypress\' ) .\'</a></li>\';

    }
    add_action(\'bp_nav_items\',\'add_location_to_main_menu\');

    My Problem in this case is that it doesn’t load the structure.css from the component when I open the component over this button. It works properly when get to the page over the sub navigation link.

    (I’m using a customized home as well as a customized member theme. )

    thx 4 ur help!

    SQRR

Viewing 1 replies (of 1 total)
Skip to toolbar