pbootcms列表页调用某个年份的文章
原代码:
{pboot:list scode=}
[list:title]
{/pboot:list}
修改后的代码:
{pboot:list scode= filter=date|2024}
[list:title]
{/pboot:list}
其中filter=date|2024表示只显示发表日期是2024年的就显示
原代码:
{pboot:list scode=}
[list:title]
{/pboot:list}
修改后的代码:
{pboot:list scode= filter=date|2024}
[list:title]
{/pboot:list}
其中filter=date|2024表示只显示发表日期是2024年的就显示