wordpress 获取文章所属的自定义分类项目的纯数据 包括本类网址

<?php if(have_posts()): ?>
    <?php while(have_posts()): the_post() ?>
   <?php print_r(get_the_terms(get_the_ID(),'isyc'))  ?>
<?php $items = get_the_terms(get_the_ID(),'isyc') ?>
<?php foreach($items as $val): ?>
<strong><?php echo $val->term_id; ?></strong><br>
<strong><?php echo $val->name; ?></strong><br>
<strong><?php echo $val->slug; ?></strong><br>
<strong><?php echo $val->taxonomy; ?></strong><br>
<strong><?php echo $val->description; ?></strong><br>
<strong><?php echo $val->count; ?></strong><br>
<strong><?php echo get_term_link($val); ?></strong><!--  $val是循环使用的数据   -->

<?php endforeach; ?>
<?php endwhile; ?>
<?php endif; ?>