Typecho 全部标签列表,按照MID排序
No Reply , Posted in 代码 on April 8, 2014
所有的标签列表安装时间排序:
<?php $this->widget('Widget_Metas_Tag_Cloud', array('sort' => 'count', 'ignoreZeroCount' => true, 'desc' => true, 'limit' => 20))->to($tags); ?> <?php while($tags->next()): ?> <li><a rel="tag" href="<?php $tags->permalink(); ?>"><?php $tags->name(); ?></a></li> <?php endwhile; ?>
以上代码,是按照tag的创建时间排序