working on startpage and single

This commit is contained in:
2019-07-10 18:24:34 +02:00
parent 67661ed767
commit d1dbc518e3
11 changed files with 182 additions and 121 deletions

View File

@@ -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>