LOOP调用代码:
{dede:loop table=’wp_posts’ sort=’post_date’ row=’20′ if=”}<br><a href=”[field:guid/]“> [field:post_title/]</a> <br />{/dede:loop}
SQL掉用方法:
{dede:sql sql=’Select * from wp_posts order by post_date desc limit 0,20′}<li><a href=’[field:guid/]‘ target=’_blank’>[field:post_title/]</a></li>{/dede:sql}