<?php $tags = get_the_tags($post->ID); if(!empty($tags)): ?>
<ul class="tags_cloud">
	<?php foreach($tags as $tag) :  ?>
	<li>
		<a class="tags_button" href="<?php bloginfo('url');?>/tag/<?php print_r($tag->slug);?>">
			<?php print_r($tag->name); ?>
		</a>
	</li>
	<?php endforeach; ?>
</ul>
<?php endif;?>
本篇文章相关标签: