Sometimes we need to add in front of some information he belongs to the classification, let him show, although some of the methods introduced in this article are not universal, but can achieve this effect, the code is as follows, for your reference:
<!--{php $tags =tag ("moduleid=21&condition=status=3 and CatID in" ( 263,264,249,327,11,598,599,12,238,237,265,285,328,567,570) and level=6&showcat=1&areaid= $cityid & Pagesize=11&length=38&datetype=2&target=_blank&order=addtime desc&template=null ")}-->
{loop $tags $i $t}
<li>
<span>[{$t [catname]}]</span><a href=] {$t [linkurl]} ' rel= ' External nofollow ' {if $target} target= ' {$target} ' {/if} title= ' {$t [Alt]} ' >{$t [title]}</a>
</li>
{/if}
{/loop}
Attention:
1. This sentence in the Code CATID in (263,264,249,327,11,598,599,12,238,237,265,285,328,567,570) is the category where all information information belongs
(this ID range is more fixed, not universal, here need to fill in their own information below the category ID)
2. write Showcat=1 this.
3.{$t [catname]} This is the category name