Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to move Settings subnav item positions

Do the following. You will need to edit 2 numbers in the code.

1. Open the php file at /plugins/buddypress/bp-core/bp-core-settings.php

2. Go to this function:
`function bp_core_add_settings_nav()`

3. Find this line and change the “10” to “20”.
`bp_core_new_subnav_item( array( ‘name’ => __( ‘General’, ‘buddypress’ ), ‘slug’ => ‘general’, ‘parent_url’ => $settings_link, ‘parent_slug’ => $bp->settings->slug, ‘screen_function’ => ‘bp_core_screen_general_settings’, ‘position’ => 10, ‘user_has_access’ => bp_is_my_profile() ) );`

4. 3. Find this line and change the “20” to “10”.

`bp_core_new_subnav_item( array( ‘name’ => __( ‘Notifications’, ‘buddypress’ ), ‘slug’ => ‘notifications’, ‘parent_url’ => $settings_link, ‘parent_slug’ => $bp->settings->slug, ‘screen_function’ => ‘bp_core_screen_notification_settings’, ‘position’ => 20, ‘user_has_access’ => bp_is_my_profile() ) );`

Skip to toolbar