Skip to:
Content
Pages
Categories
Search
Top
Bottom

Changing the Activity Slug


  • Venutius
    Moderator

    @venutius

    I’m trying to change the Activity Slug as mentioned here:

    Change “Activity” component’s name and slug to something else.

    However I’m getting the following error code when I simply paste the snippet into bp-custom

    o /dashboard/ define( ‘BP_ACTIVITY_SLUG’, ‘dashboard’ ); // Change the name for the “Activity” tab to “Dashboard”, // and reference the newly defined slug /dashboard/ function bpcodex_rename_profile_tabs() { // Change “Activity” to “Dashboard” buddypress()->members->nav->edit_nav( array( ‘name’ => __( ‘Dashboard’, ‘textdomain’ ) ), ‘dashboard’ ); } add_action( ‘bp_actions’, ‘bpcodex_rename_profile_tabs’ );
    Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/bp-custom.php:10) in /wp-includes/option.php on line 828

    Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/bp-custom.php:10) in wp-includes/option.php on line 829

    I’m using a brand new install of WP and BP, is there anything else I need to do to get this to work?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar