Pbootcms网站如何调用TAG标签

2022-7-8 15:43

 一、在内容页面代码中添加以下代码即可:
<!--下一行-->
<br/>
<!--TAG文字属性-->
<style type="text/css">
.STYLE1 {
color: #17a2b8;
font-size: 16px;
        font-weight: bold;
}
</style>
<span class="STYLE1">TAGS:&nbsp;&nbsp;</span> 
<!--调用标签代码如下-->
<span style="font-size:14px;">{pboot:tags id={content:id}}
  <a href="[tags:link]">[tags:text]</a>
{/pboot:tags}</span>

二、在列表页面中添加以下代码即可调用:
<!--下一行-->
<br/>
<!--TAG文字属性-->
<style type="text/css">
.STYLE1 {
color: #17a2b8;
font-size: 16px;
        font-weight: bold;
}
</style>
<span class="STYLE1">TAGS:&nbsp;&nbsp;</span> 
<!--调用标签代码如下,scode的*值(必填)为相对应的列表编码-->
{pboot:tags scode=*}
&nbsp;&nbsp;<a href="[tags:link]">[tags:text]</a>
{/pboot:tags}

Copyright © 2002-2024 Iszw.net All Rights Reserved.      川公网安备 51010702002244号

蜀ICP备2020035322号-1    本站已开启 IPv6 访问

返回顶部