'video', 'posts_per_page' => -1, ); $videos = new WP_Query( $args ); if ( $videos->have_posts() ) : while ( $videos->have_posts() ) : $videos->the_post(); $video_url = get_field( 'video_url' ); $video_image = get_field( 'video_image' ); $video_title = get_the_title(); $video_desc = get_the_content(); $video_photo = get_field( 'video_photo' ); ?> 'video', 'posts_per_page' => -1, ); $videos = new WP_Query( $args ); if ( $videos->have_posts() ) : while ( $videos->have_posts() ) : $videos->the_post(); $video_url = get_field( 'video_url' ); $video_image = get_field( 'video_image' ); $video_title = get_the_title(); $video_desc = get_the_content(); $video_photo = get_field( 'video_photo' ); ?>