September 29, 2014 at 23:44
#30150
gregmc
Participant
@abe – tx for replying – as a test have put exact same in main theme functions as well but had no effect… what worries me is that even the base tab does not show… there is data in the xprofile fields, which means it should show (see image 3)
COPY CODE
add_action('after_setup_theme','kleo_my_custom_tabs');
function kleo_my_custom_tabs()
{
global $bp_tabs;
$bp_tabs = array();
$bp_tabs['base'] = array(
'type' => 'regular',
'name' => "About me",
'group' => 'Base',
'class' => 'regulartab'
);
$bp_tabs['Gamestats'] = array(
'type' => 'regular',
'name' => __('Gamestats', 'kleo_framework'),
'group' => 'Gamestats',
'class' => 'regulartab'
);
$bp_tabs['Games Played'] = array(
'type' => 'regular',
'name' => __('Games Played', 'kleo_framework'),
'group' => 'Preferences',
'class' => 'regulartab'
);