帝国CMS如何随机调用文章?全站随机,当前栏目随机。

来源:小波SEO   更新时间:2018-07-06 15:03:12   

关于:帝国CMS如何随机调用文章?全站随机,当前栏目随机。,今日小波说事SEO分析: 把万能标签和灵动标签的栏目修改为select * from phome_ecms_news order by rand() desc limit 6 。操作类型是24.即可
例子:


[ecmsinfo]"select * from phome_ecms_news
把万能标签和灵动标签的栏目修改为select * from phome_ecms_news order by rand() desc limit 6 。操作类型是24.即可
例子:


[ecmsinfo]"select * from phome_ecms_news order by rand() desc limit 6 ",6,18,1,24,11,1[/ecmsinfo] 指定栏目 [ecmsinfo]"select*fromphome_ecms_news classidin(id1,id2,id3....) orderbyrand()desclimit6",6,18,1,24,11,1[/ecmsinfo] classid='$GLOBALS[navclassid]'当前栏目
文章, 帝国cms, 如何, 随机, seo

相关文章