cat, home, tag,search pages
This commit is contained in:
5
loop.php
5
loop.php
@@ -20,11 +20,12 @@
|
||||
|
||||
<div class="metadata">
|
||||
<div class="categories">
|
||||
<?php //the_category(' | ');?>
|
||||
<?php
|
||||
$echos = [];
|
||||
foreach((get_the_category()) as $category){
|
||||
echo $category->name;
|
||||
$echos[]= $category->name;
|
||||
}
|
||||
print implode(' | ', $echos);
|
||||
?>
|
||||
|
||||
<?php if(is_home() and $qc < 3): ; //first two posts format only ?>
|
||||
|
||||
Reference in New Issue
Block a user