Hi there!
I followed you step-by-step integration and works for me!!
But i need to translate “Question” tag in user´s profile to spanish, could you help me?
Thank you!
2 Answers
You can send me your site for further checking.
To resolve this issue, you can open the bp-custom.php file in the folder path “wp-content\themes\Your-theme\buddypress”. Find the following code:
/*-----------------------------------------------------------------------------------*/
/* Setup Questions in BuddyPress User Profile
/*-----------------------------------------------------------------------------------*/
add_action( 'bp_setup_nav', 'dw_simplex_bp_nav_adder' );
function dw_simplex_bp_nav_adder() {
bp_core_new_nav_item(
array(
'name' => __('Questions', 'dw-simplex'),
'slug' => 'questions',
'position' => 21,
'show_for_displayed_user' => true,
'screen_function' => 'questions_list',
'item_css_id' => 'questions',
'default_subnav_slug' => 'public'
));
}
You can change the “Questions” tag in the following code:
'name' => __('Questions', 'dw-simplex'),
'slug' => 'questions',
Hope this helps !
Please login or Register to submit your answer