Only show posts of category Urlaub on start page
This commit is contained in:
parent
cd870723e0
commit
7723b1e09e
1 changed files with 3 additions and 2 deletions
|
|
@ -25,8 +25,9 @@
|
|||
<div class="posts" id="posts">
|
||||
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
|
||||
<?php get_template_part( 'content', get_post_format() ); ?>
|
||||
<?php if(get_the_category()[0]->name == "Urlaub") :
|
||||
get_template_part( 'content', get_post_format() );
|
||||
endif; ?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue