Hi;
I tried all the things you said in this topic
https://archived.seventhqueen.com/forums/topic/how-to-add-more-tabs-next-to-the-profile-image
But I can’t add any tabs.
First of all; I went to Appearence and Editor. I clicked on functions.php.
Then, I added the code you said and I have this result;
<?php
/**
* @package WordPress
* @subpackage Sweetdate
* @author SeventhQueen <themesupport@seventhqueen.com>
* @since Sweetdate 1.0
*/
/**
* Sweetdate Child Theme Functions
* Add extra code or replace existing functions
*/
add_action(‘after_setup_theme’,’kleo_my_actions’);
function kleo_my_actions()
{
global $bp_tabs;
$bp_tabs[‘myself_summary’] = array(
‘type’ => ‘regular’,
‘name’ => __(‘Myself Summary’, ‘kleo_framework’),
‘group’ => ‘Myself Summary’,
‘class’ => ‘regulartab
);
}
?>
Then, I clicked on upload files and I have in the top of my webssite in all pages this text:
< ?php add_action(‘after_setup_theme’,’kleo_my_actions’); function kleo_my_actions() { global $bp_tabs; $bp_tabs[‘myself_summary’] = array( ‘type’ => ‘regular’, ‘name’ => __(‘Myself Summary’, ‘kleo_framework’), ‘group’ => ‘Myself Summary’, ‘class’ => ‘regulartab ); } ?>
Do you have any solution for me?