Add header for Urlaub
This commit is contained in:
parent
fdfdfcb135
commit
75c1967c2e
1 changed files with 1 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ function atravelblog_related_posts() {
|
|||
$urlaub = new WP_Query(array('p' => get_field('urlaub')[0]));
|
||||
if ($urlaub->have_posts()) :
|
||||
echo('<div class="related-posts posts section-inner">');
|
||||
echo('<h4 style="color: white; margin-top: 20px;">Urlaub:</h4>');
|
||||
while ( $urlaub->have_posts() ) : $urlaub->the_post();
|
||||
global $post;
|
||||
get_template_part( 'content', get_post_format() );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue