Move header out of div
This commit is contained in:
parent
32d7b85801
commit
d41892d58a
1 changed files with 2 additions and 2 deletions
|
|
@ -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() );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue