Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

  • nigelanderson
    Member

    @nigelanderson

    I’ve made some headway but still need help if anyone is able…

    I’ve been editing the CSS of my child theme to simply set the display property of the items I want to omit (eg ‘blogs’) to ‘none’ so that they do not show up.

    I have also used this to add the logged-in-user-specific links I want to my navigation bar:

    <li><a href="#"></a>
    <ul>
    
    </ul>
    </li>

    which now displays. I don’t have fine control over it, eg changing the text or altering the order, though I can live with that. But, my CSS trick of locating the element’s id and setting its display property to none doesn’t work in my drop-down menu.

    It seems as if I need to actually have bp_get_displayed_user_nav() return a different list than it does by default.

    Any ideas?

    Thanks!


    nigelanderson
    Member

    @nigelanderson

    Partly answering my own question, from the default buddypress theme I’ve found that the navigation strip is generated by this bit of code:

    <div class="item-list-tabs no-ajax" id="object-nav">
    <ul>
    
    </ul>
    </div>

    Could someone explain a little about how this works? I’ve located bp_get_displayed_user_nav() in the bp-core-templatetags file. I’m not sure about the next line.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar