>
cat_ID);
print (''.esc_html($category[0]->cat_name).'');
}
print get_the_title();
} elseif (is_category()) {
single_cat_title();
} elseif (is_tax()) {
$txlist = array();
$txterms = get_queried_object();
$txterms_parent_id = $txterms->parent;
$txterms_taxonomy = $txterms->taxonomy;
while ($txterms_parent_id) {
$txcurr = get_term($txterms_parent_id, $txterms_taxonomy);
$txlist[] = ''.esc_html($txcurr->name).'';
$txterms_parent_id = $txcurr->parent;
}
if (!empty($txlist)) print implode(' ',array_reverse($txlist)).' ';
print esc_html($txterms->name);
} elseif (is_author()) {
global $wp_query;
$curauth = $wp_query->get_queried_object();
esc_html_e('Posts by ','above_skyline_demo');
print ' '.$curauth->nickname;
} elseif (is_page()) {
wp_title('');
};
} ?>