мои решения в functions.php темы:
function our_the_category()
{
$categories = array();
foreach (get_the_category() as $category) {
$title = $category->name;
if ($category->parent) {
$title1 = get_category_parents($category->parent, false, ' › ') . $title;
} else { $title1 = $title; }
$categories[$title] = '<a href="' . get_category_link( $category->term_id ) . '"' . ' title="' . sprintf( __( "All posts in: %s" ), $title1 ) . '">' . $title . '</a>';
}
ksort($categories, SORT_NATURAL | SORT_FLAG_CASE);
echo implode(', ', $categories);
}
function our_the_tags()
{
$tags = array();
foreach (get_the_tags() as $post_tags) {
$title = $post_tags->name;
$tags[$title] = '<a href="' . get_category_link( $post_tags->term_id ) . '"' . ' title="' . sprintf( __( "All posts tagged ‘%s" ), $title ) . '’">' . $title . '</a>';
}
asort($tags);
echo implode(', ', $tags);
}
в функции включено специфическое составление title ссылок категорий и тэгов
Спасибо большое! Все понятно.