pbootcms模板指定调用栏目文章

2025-08-04 0 9

pbootcms模板如何指定调用栏目文章

{pboot:list scode=2 num=5 order=sorting}
<li><a href=”[list:link]”>标题:[list:title lencn=20]</a><span>[list:date style=Y-m-d]</span>描述:[list:description lencn=40]<p>所属栏目:[list:sortname]</p></li>
{/pboot:list}

scode=2 表示编号为2的栏目

num=5 表示调用5篇文章

order=sorting 表示文章按照后台设置的排序进行排列,数字越小越靠前

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

版权声明:所有的源码、软件和资料,不得使用于非法商业用途,不得违反国家法律,一切关于该资源商业行为与本站无关。

免费cms模板 pbootcms教程 pbootcms模板指定调用栏目文章 https://www.mianfeicms.com/1437.html

相关文章

发表评论
暂无评论