Typecho 自定义调用某分类并输出缩略图

No Reply , Posted in 代码 on April 11, 2014

调用某分类,并输出缩略图

<?php $this->widget('Widget_Archive@index', 'pageSize=4&type=category', 'mid=23')->to($indexpub); ?>
<?php while($indexpub->next()): ?>
<?php $indexpub->permalink(); ?>
<?php $indexpub->title() ?>
<?php Fimg_Plugin::showfimg($indexpub->cid,4);?>
<?php $indexpub->excerpt(80, '……'); ?>
<?php endwhile; ?>

标签: 缩略图, 分类