'; while ( have_posts() ) { the_post(); $counter ++; $pid = get_the_ID(); if ( ! empty( $posts_to_skip ) && in_array( $pid, $posts_to_skip ) ) { $counter ++; continue; } if ( $alternative_blog_layout === 'blog_alternative_layout2' ) { get_template_part( 'template-parts/content', 'alternative-2' ); } elseif ( ( $alternative_blog_layout === 'blog_alternative_layout' ) && ( $counter % 2 == 0 ) ) { get_template_part( 'template-parts/content', 'alternative' ); } else { get_template_part( 'template-parts/content' ); } } echo '
'; $hestia_pagination_type = get_theme_mod( 'hestia_pagination_type', 'number' ); if ( $hestia_pagination_type === 'number' ) { the_posts_pagination(); } } else { get_template_part( 'template-parts/content', 'none' ); } ?>