working on startpage and single
This commit is contained in:
11
single.php
11
single.php
@@ -18,11 +18,6 @@
|
||||
<?php endif;?>
|
||||
<!-- /post thumbnail -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="titlewrapper">
|
||||
<div class="metadata">
|
||||
<div class="time-cat">
|
||||
@@ -34,7 +29,11 @@
|
||||
$terms = get_the_terms( $post->ID, 'Format' );
|
||||
if ($terms && ! is_wp_error( $terms )) {
|
||||
foreach($terms as $term) {
|
||||
echo $term->name;
|
||||
?>
|
||||
<a href="<?php echo esc_url(get_term_link( $term));?>">
|
||||
<?php
|
||||
echo $term->name;
|
||||
echo '</a>';
|
||||
}
|
||||
} ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user