mirror of
https://github.com/danpros/htmly.git
synced 2026-04-21 21:16:23 +05:30
Add related posts
Add related posts feature base on post tag.
This commit is contained in:
parent
f51f27d4d9
commit
7d914fc898
6 changed files with 119 additions and 16 deletions
|
|
@ -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)):?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue