互联网技术 · 2024年2月10日

如何在帝国中使用showtags标签来随机显示颜色和大小的tags

帝国CMS使用[showtags]随机颜色大小显示tags标签

在要显示TAGS的地方粘贴下列代码:

[showtags],10,10,num desc,0,s,r,,1,[/showtags]

[showtags],40,0,rand(),0,s,r,,0,[/showtags]

注释:

[showtags],10,10,num desc,0,s,r,,1,[/showtags]

=指定ID,

10=调用总数量,

10=每行显示数量,

num desc=显示排序,

0=只显示推荐的(0为不显示,1为显示),

s,r=推荐TAGS属性(s为加粗,r为加红),

=显示间隔符(一般为空格符: ),

1=显示信息数量(0为不显示,1为显示),

=链接使用变量(一般为tagname和tagid)

转载:非常欢迎各位朋友分享到个人站长或者朋友圈,但转载请说明文章出处“黎青松SEO博客”。

原文地址:http://www.alitaohuo.com/CMSjiaocheng/diguojiaocheng/1912.html

OpenMagic API

Need more than content? Move into the product flow.

If you are here for model access, pricing, developer docs, or the future API console, the dedicated product path now lives on api.openmagic.ai.

登录免费注册