'; echo '
'; while ( have_posts() ) : the_post(); $sharetitle = get_the_title(); $shareurl = get_the_permalink(); // echo '
'; // echo '

'.get_the_title().'

'; the_content(''); $args = array( 'post_type' => 'page', 'name' => 'videos' ); $query = new WP_Query( $args ); echo '
'; while ($query->have_posts()) : $query->the_post(); $meta_media = get_post_meta(get_the_id(), 'hol_page_media', true); echo '

'.get_the_title().'

'; the_content(''); echo '
'; foreach ($meta_media as $key => $value) : echo '
'; echo ''; echo '
'; endforeach; echo '
'; endwhile; echo '
'; $args = array( 'post_type' => 'page', 'name' => 'bilder' ); $query = new WP_Query( $args ); echo '
'; while ($query->have_posts()) : $query->the_post(); $meta_media = get_post_meta(get_the_id(), 'hol_page_media', true); echo '

'.get_the_title().'

'; the_content(''); echo '
'; foreach ($meta_media as $key => $value) : $imgmeta = wp_get_attachment_metadata( $value['id'] ); $img = wp_get_attachment_image_src($value['id'], 'large'); echo '
'; echo ''.wp_get_attachment_image( $value['id'], 'thumbnail', '', '' ).''; echo '
'; endforeach; echo '
'; endwhile; echo '
'; endwhile; get_template_part( 'part-socialshare', 'hol' ); echo '
'; echo ''; get_footer(); ?>