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">
|
<div class="posts" id="posts">
|
||||||
|
|
||||||
<?php while (have_posts()) : the_post(); ?>
|
<?php while (have_posts()) : the_post(); ?>
|
||||||
|
<?php if(get_the_category()[0]->name == "Urlaub") :
|
||||||
<?php get_template_part( 'content', get_post_format() ); ?>
|
get_template_part( 'content', get_post_format() );
|
||||||
|
endif; ?>
|
||||||
|
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue