Add related posts

Add related posts feature base on post tag.
This commit is contained in:
Danang Probo Sayekti 2014-01-13 10:42:27 +07:00
commit 7d914fc898
6 changed files with 119 additions and 16 deletions

View file

@ -34,6 +34,7 @@
<?php endif;?>
<?php endif;?>
</div>
<?php if ($type == 'blogpost'):?><?php echo get_related($p->tag)?><?php endif;?>
<?php if ($type == 'blogpost'):?>
<div class="postnav">
<?php if (!empty($next)):?>