Browse Source

Update blog theme

pull/189/head
Danang Probo Sayekti 10 years ago
parent
commit
cb433acfc9
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      themes/blog/layout.html.php

+ 5
- 4
themes/blog/layout.html.php View File

@ -139,10 +139,11 @@
<div class="section-inner"> <div class="section-inner">
<h2 class="heading">Tags</h2> <h2 class="heading">Tags</h2>
<div class="tag-cloud"> <div class="tag-cloud">
<?php $tags = tag_cloud(true); if(empty($tags)) return;?>
<?php foreach ($tags as $tag => $count):?>
<a class="more-link" href="<?php echo site_url();?>tag/<?php echo $tag;?>"><?php echo $tag;?></a>
<?php endforeach;?>
<?php $tags = tag_cloud(true); if(is_array($tags)) { ?>
<?php foreach ($tags as $tag => $count):?>
<a class="more-link" href="<?php echo site_url();?>tag/<?php echo $tag;?>"><?php echo $tag;?></a>
<?php endforeach;?>
<?php } ?>
</div><!--//content--> </div><!--//content-->
</div><!--//section-inner--> </div><!--//section-inner-->
</aside><!--//section--> </aside><!--//section-->


Loading…
Cancel
Save