6, 'tax_query' => array( array( 'taxonomy' => 'post_format', 'field' => 'slug', 'terms' => array( 'post-format-video', ), 'operator' => 'IN', ), ), ); $query = new WP_Query($args); if ( $query->have_posts() ) :?>

have_posts() ) : $query->the_post(); /* * Include the post format-specific template for the content. If you want to * use this in a child theme, then include a file called called content-___.php * (where ___ is the post format) and that will be used instead. */ get_template_part( 'template-parts/content', get_post_format() ); endwhile; wp_reset_postdata(); ?>
%1$s

%2$s

', __('This is the video section', 'bassist'), __('To fill up this section you have to create some posts, choose the format "video" in Format and save. To put a picture before this section, use the parallax settings in the Customizer.', 'bassist') ); endif; ?>