首页 > typecho怎么调用图片显示数量?

typecho怎么调用图片显示数量?

            <section id="photo-grid">
            <?php while($this->next()): ?>
                <div class="photo-item" data-url="<?php $this->permalink() ?>">
                    <figure class="image-container"><a href="<?php $this->permalink() ?>"><img src="<?php echo img_postthumb($this->content); ?>" /> </a></figure>
                </div>
            <?php endwhile; ?>
            </section>
            

这是调用的代码,首页只显示5个,我现在要显示多个怎么表示?
求解。


已经完美解决~~

 <?php $this->widget('Widget_Contents_Post_Recent', 'pageSize=8', 'mid=1')->to($post); ?>
 <?php while($post->next()): ?>
   我是内容
 <?php endwhile; ?>    

【热门文章】
【热门文章】