-
Author
-
March 24, 2014 at 09:20 #13343hugblueParticipant
Hi Abe ..
I need your help ..
I had to reinstall the whole site duo to errors and duo to learning.
When i reinstalled wp and everything.
At that time no info was shown in the profiles pages ..
This is the old link :
https://archived.seventhqueen.com/forums/topic/no-info-is-shownNow when i reinstalled it all. Then the functions.php in child is almost empty.
And the $bp_tabs is not there. I copied the child from the last update.Now when i replace the functions.php text from the last post.
Then it show nothing. Both in english and Bulgarian.So i need to know if the things have changed or why it is not showing anything.
Thz.
March 25, 2014 at 20:23 #13474hugblueParticipantWhen i open my child functions.php .. Then it looks like this :
<?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
*/
?>Then i add this :
//my changes to profile tabs
add_action(‘after_setup_theme’,’kleo_my_custom_tabs’);
function kleo_my_custom_tabs()
{
global $bp_tabs;
$bp_tabs = array();
$bp_tabs[] = array(
‘type’ => ‘regular’,
‘name’ => “Лични данни (About me)”, //this is the showed tab name
‘group’ => ‘Лични данни (About me)’, // this must be the same as the profile fields group name
‘class’ => ‘regulartab’
);
$bp_tabs[] = array(
‘type’ => ‘regular’,
‘name’ => “Обобщение за мен (Myself Summary)”,
‘group’ => “Обобщение за мен (Myself Summary)”,
‘class’ => ‘regulartab’
);
$bp_tabs[] = array(
‘type’ => ‘regular’,
‘name’ => “Търся (Looking for)”,
‘group’ => “Търся (Looking for)”,
‘class’ => ‘regulartab’
);
$bp_tabs[] = array(
‘type’ => ‘regular’,
‘name’ => “Стил на живот (Lifestyle)”,
‘group’ => “Стил на живот (Lifestyle)”,
‘class’ => ‘regulartab’
);
$bp_tabs[] = array(
‘type’ => ‘regular’,
‘name’ => “Физически данни (Physical)”,
‘group’ => “Физически данни (Physical)”,
‘class’ => ‘regulartab’
);
/* rtMedia tab – only if plugin installed */
if (class_exists(‘RTMedia’))
{
$bp_tabs[‘rtmedia’] = array(
‘type’ => ‘rt_media’,
‘name’ => __(‘My work’, ‘kleo_framework’),
‘class’ => ‘mySlider’
);
}/* Bp-Album tab – only if plugin installed */
elseif (function_exists(‘bpa_init’)) {
$bp_tabs[‘bp-album’] = array(
‘type’ => ‘bp_album’,
‘name’ => __(‘My photos’, ‘kleo_framework’),
‘class’ => ‘mySlider’
);
}
}But then it shows nothing in the user profile fields :
About me and so on ..Have something changed in the latest update or do i need to activate something ?
And when i do not add this code then it workd . In english.
But it shows nothing in the translated language.March 25, 2014 at 20:37 #13478hugblueParticipantAnd when i redownload the sweet date files :
Then in the child functions.php it looks like this :
<?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
*/
?> -
AuthorPosts
The topic ‘No info is shown 2’ is closed to new replies.