您好,欢迎访问一九零五行业门户网

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

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调用文章不显示推荐文章怎么办的详细内容。
其它类似信息

推荐信息