您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息
三六零分类信息网 > 九江分类信息网,免费分类信息发布

phpcms调用文章不显示推荐文章怎么办

2025/8/31 0:00:25发布18次查看
phpcms调用文章不显示推荐文章怎么办?列表页不显示某个推荐位文章的办法
此效果仅满足特殊需要,用的人不多,所以不过多说明。
详细标签如下:
{pc:get sql="select `id` from `v9_position_data` where `posid`='2' and `catid`=$catid order by `v9_position_data`.`id` desc" num="10"}{loop $data $d}{pc:get sql="select `url`,`title` from `v9_news` where `id`<>$d[id] and `catid`=$catid order by `v9_news`.`inputtime` desc" num="10" return="info"}{loop $info $r}<li"><a href="{$r[url]}" title="{$r[title]}">{$r[title]}</a></li>{/loop}{/pc}{/loop}{/pc}
以上代码效果为不显示10条推荐位为首页头条推荐的文章。
相关推荐:phpcms教程
以上就是phpcms调用文章不显示推荐文章怎么办的详细内容。
九江分类信息网,免费分类信息发布

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product