Hi Kir,
Thank you for using the plugin.For the label(All Activity), you should translate the plugin.
For making it default, you can use the following code
/** * Set community activity as landing for activity */ function bp_custom_community_activity_as_default_landing() { if ( ! bp_is_my_profile() ) { return; } bp_core_new_nav_default( array( 'parent_slug' => 'activity', 'subnav_slug' => BPCOM_ACTIVITY_SLUG, 'screen_function' => 'bp_community_activity_screen', ) ); } add_action( 'bp_activity_setup_nav', 'bp_custom_community_activity_as_default_landing', 15 );
Regards
Brajesh
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
This topic is: not resolved