您的代码可能如下所示
<?php
$category = get_the_category();
foreach( $category as $cat):
if($cat[0]->parent == \' your_parent_category_id ( Premium )\'){
echo \'<a href="\'.get_category_link($cat[0]->term_id ).\'">\'.$cat[0]->cat_name.\'</a>\';
break;
}
endforeach;
?>