home, tag archive improvements
This commit is contained in:
5
loop.php
5
loop.php
@@ -21,7 +21,9 @@
|
||||
<div class="metadata">
|
||||
<div class="categories">
|
||||
<?php the_category(' | ');?>
|
||||
<?php
|
||||
|
||||
<?php if(is_home() and $qc < 3): ; //first two posts format only ?>
|
||||
<?php //get the post format
|
||||
$terms = get_the_terms($post->ID, 'Format');
|
||||
if ($terms) {
|
||||
foreach ($terms as $term) {
|
||||
@@ -29,6 +31,7 @@
|
||||
echo $term->name;
|
||||
}
|
||||
}?>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
<?php if(is_home() and $qc < 3): ; //first two posts subtitle and excerpt ?>
|
||||
<div class="alcim">
|
||||
|
||||
Reference in New Issue
Block a user