Skip to:
Content
Pages
Categories
Search
Top
Bottom

How do I edit the BuddyPress Menu

  • Avatar of zastrow
    zastrow
    Participant

    @zastrow

    BuddyPress Menu at top right in default theme view

    * Home

    * Blog

    * Members

    * Groups

    * Forums

    * Blogs

    I don’t see where I can edit on admin site the main buddypress menu; (add/subtract links)

    I was assuming my WordPress Pages would apear here, i.e. (about)

    I also want to remove Forums and Blog from the menu items.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Avatar of peter-anselmo
    Peter Anselmo
    Participant

    @peter-anselmo

    Hi Zastrow,

    As far as I know there’s not an explicit way to edit the links from the admin site.

    Just to be clear, if you don’t use Forums and Groups, disabling them BuddyPress ‘components setup’ page will automatically remove them from the user menus.

    I’m not sure how comfortable you are with theme modification, but for more fine-tuning (including adding pages), you can create a simple child theme and in the functions.php file create actions to modify the menus. You action might look like this:

    function mytheme_add_top_pages() {
    wp_list_pages( 'title_li=&depth=1');
    }
    add_action('bp_adminbar_menus','mytheme_add_top_pages');

    Please, note, I have not tested the above function!

    Avatar of zastrow
    zastrow
    Participant

    @zastrow

    Thanks.

    Where is the Language File ? I want to change the verbage of the menu.

    Like Blog —> Latest Updates

    I found a BuddyPress.Pot file, but this doesn’t seem like a language file to me.

    Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    Open the pot file in a text editor and search for the expression you want to change.

    Near it you can see the file name and the line where it is located

    Avatar of Fabiano Arruda
    Fabiano Arruda
    Participant

    @fabianoarruda

    Avatar of virtualsuz
    VirtualSuz
    Member

    @virtualsuz

    It’s all fine, but the menu is NOT on the language file. Try to make a search… I’m looking for it for hours now, but perhaps it’s only me…?

    Avatar of bennettberlin
    bennettberlin
    Participant

    @bennettberlin

    I already had the beginnings of a Thematic/BP theme when I decided to use the BuddyPress default template instead. I had already set up a few pages and posts.

    I want to place the BuddyPress menu on the top Admin Bar and my normal WordPress pages as a menu in the header.

    For the Admin Bar I tried the code Peter Anselmo posted, but it places ONLY my WP menu in the Admin Bar, but not my BuddyPress menu, as desired. How do I “filter in” only the BP menu?

    function mytheme_add_top_pages() {
    wp_list_pages( 'title_li=&depth=1');
    }
    add_action('bp_adminbar_menus','mytheme_add_top_pages');

    For the Header, line 85 of bp-default/header.php produces a menu that includes BOTH my WP and BP items. If I comment out this line, I get ONLY the BP menu, but not my WP menu, as desired. How do I “filter in” the WP menu?

    How can I get this to work?

    Thanks in advance,

    PB

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

You must be logged in to reply to this topic.