Move header out of div

This commit is contained in:
Markus Ankenbrand 2016-09-12 13:30:01 +02:00
parent 32d7b85801
commit d41892d58a

View file

@ -39,8 +39,8 @@ function atravelblog_related_posts() {
)
) );
if ($tagebuch->have_posts()) :
echo('<h4 style="color: white; margin-top: 20px;" class="section-inner">Tagebuch Einträge:</h4>');
echo('<div class="related-posts posts section-inner">');
echo('<h4 style="color: white; margin-top: 20px;">Tagebuch Einträge:</h4>');
while ( $tagebuch->have_posts() ) : $tagebuch->the_post();
global $post;
get_template_part( 'content', get_post_format() );
@ -52,8 +52,8 @@ function atravelblog_related_posts() {
} elseif($cat == 'Tour') {
$urlaub = new WP_Query(array('p' => get_field('urlaub')[0]));
if ($urlaub->have_posts()) :
echo('<h4 style="color: white; margin-top: 20px;" class="section-inner">Urlaub:</h4>');
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() );