帝国cms灵动标签显示固定文章ID/指定文章灵动标签代码


avatar
pcwnas 2023-04-25 200

原文来自:https://liye5.com/

[e:loop={'article',5,18,1,"id in(28,29,30,31,32)",'newstime DESC'}]
                <a class="item" href="<?=$bqr['titleurl']?>" target="_blank">
                    <img class="pic lazy" src="<?=$bqr['titlepic']?>"  data-src="<?=$bqr['titlepic']?>" alt="<?=$bqr['title']?>">
                    <div class="con">
                        <h3 class="tit"><?=$bqr['title']?></h3>
                        <p class="time"><?=date('Y-m-d',$bqr[newstime])?></p>
                    </div>
                </a>
[/e:loop]  

显示ID为28 29 30 31 32这五篇文章