Show author only for Tagebuch category
This commit is contained in:
parent
4551d7be7b
commit
ac6f97f1e2
1 changed files with 3 additions and 2 deletions
|
|
@ -35,8 +35,9 @@
|
|||
<p class="post-date"><?php the_time(get_option('date_format')); ?></p>
|
||||
|
||||
<h1 class="post-title"><?php the_title(); ?></h1>
|
||||
|
||||
<p class="post-date">by <?php the_author(); ?></p>
|
||||
<?php if(get_the_category()[0]->name == 'Tagebuch') : ?>
|
||||
<p class="post-date">by <?php the_author(); ?></p>
|
||||
<? endif; ?>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue