wordpress调用指定ID的文章
先记录,稍候完善
<?php query_posts('showposts=5&p=1'); ?>
<?php while (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile;wp_reset_query();?>
可多次调用!
研究一下同时调用多个指定ID的日志!
先记录,稍候完善
<?php query_posts('showposts=5&p=1'); ?>
<?php while (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile;wp_reset_query();?>
可多次调用!
研究一下同时调用多个指定ID的日志!