Ok, maybe I didn’t understand your first answer, in the link you provided, line 8 of the code is //$output = __(‘Archive for category:’, ‘kleo_framework’) . ” ” . single_cat_title(”, false);
Is this what you mean, if so this did not work as I mentioned before. I placed this code in the Themes/ Kleo Child/ functions.php and cleared the cache after as well. Could you tell me what I’m doing wrong. Do I need to place brackets in another position, or should I change it from false to true, or do I need to copy the entire code from line 1 to line 88? I’ve tried many different ways as well as $output = single_cat_title(”, false); and it still does not work. You also said in your first response make sure you get the latest kleo_title function code from /kleo/kleo-framework/lib/function-core.php I don’t understand, how to get the latest version of that. Totally confused. Here’s the what I have in the file so far.
<?php
/**
* @package WordPress
* @subpackage Kleo
* @author SeventhQueen <themesupport@seventhqueen.com>
* @since Kleo 1.0
*/
/**
* Kleo Child Theme Functions
* Add custom code below
*/add_action(‘bp_profile_header_meta’,’social_links_in_header’);
function social_links_in_header ()
{
$social_links = array(‘facebook’,’twitter’,’google+’,’instagram’,’linkedin’,’youtube’,’pinterest’);
foreach( $social_links as $link )
{
if ( $data = bp_get_profile_field_data( array(‘user_id’=>bp_displayed_user_id(), ‘field’=>$link )) ) : ?>
<?php
if ($link == ‘google+’) {
$iconlink = ‘gplus’;
} elseif ($link == ‘pinterest’) {
$iconlink = ‘pinterest-circled’;
} elseif ($link == ‘instagram’) {
$iconlink = ‘instagramm’;
} else {
$iconlink = $link;
}
?>
bp_displayed_user_id(), ‘field’=>$link)); ?>” target=”_blank”><i class=”icon-<?php echo $iconlink; ?>”></i>
<?php endif;
}
}
//$output = __(‘Archive for category:’, ‘kleo_framework’) . ” ” . single_cat_title(”, false);
?>