Only check if first category is Urlaub

This commit is contained in:
Markus Ankenbrand 2016-09-08 17:00:04 +02:00
parent de71c06031
commit 6ca12c452a
2 changed files with 1 additions and 6 deletions

View file

@ -48,7 +48,7 @@
<div class="clear"></div>
<?php if ( in_array('Urlaub', array_map('map_to_name', get_the_category())) ) : ?>
<?php if ( get_the_category[0]['name'] == 'Urlaub' ) : ?>
<table>
<tr>
<th>Land</th>