Tag Info

New answers tagged

0

What about add else { after get_template_part( 'template-parts/content', 'video'); }? EDIT (1) : <?php /** * The template for displaying single posts. * * @package SN */ get_header(); ?> <?php while ( have_posts() ) : the_post(); ?> <?php if( has_post_format('video')) { get_template_part( 'template-parts/content', 'video'); }else{ ...



Top 50 recent answers are included