Clean up the themes

This commit is contained in:
danpros 2020-05-06 10:16:33 +07:00
commit fb6fac0af1
24 changed files with 61 additions and 43 deletions

View file

@ -35,7 +35,16 @@
<div class="recent"><h3><?php echo i18n('Recent_posts');?></h3><?php echo recent_posts() ?></div>
<div class="archive"><h3><?php echo i18n('Archives');?></h3><?php echo archive_list() ?></div>
<div class="category-list"><h3><?php echo i18n('Category');?></h3><?php echo category_list() ?></div>
<div class="tagcloud"><h3>Tags</h3><?php echo tag_cloud() ?></div>
<div class="tagcloud">
<h3>Tags</h3>
<?php $i = 1; $tags = tag_cloud(true); arsort($tags); ?>
<ul>
<?php foreach ($tags as $tag => $count):?>
<li><a href="<?php echo site_url();?>tag/<?php echo $tag;?>"><?php echo tag_i18n($tag);?> (<?php echo $count;?>)</a></li>
<?php if ($i++ >= 5) break;?>
<?php endforeach;?>
</ul>
</div>
<div class="copyright"><?php echo copyright() ?></div>
</aside>
<section id="content">