今天在调用wp文章的时候出现了标题重复的问题 实在让人郁闷 后来终于找到了这句代码 发出来分享之
{dede:sql sql="Select id as post_id,post_title as post_title,post_type,post_date from wp_posts where post_type = ‘post’ order by post_date desc limit 1,7"}
<li><a href=’/blog/[field:post_id /]‘>[field:post_title /]</a></li>
{/dede:sql}