'post', 'post_status' => 'publish', 'posts_per_page' => 5, 'cat' => $feature_posts_id, 'offset' => 0, 'ignore_sticky_posts' => 1 ))); $posts_array = $query->get_posts(); $show_feature_posts_one = count( $posts_array ) > 0 && is_home(); if( get_theme_mod( 'feature_posts_one', true ) && $show_feature_posts_one ){ ?>
have_posts() ) : $query->the_post(); $image = get_the_post_thumbnail_url( get_the_ID(), 'large' ); if( $main_post ){ $main_post = false; ?>
' . '%1$s' . '', $categories_list ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped endif; endif; ?>

' . '%1$s' . '', $categories_list ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped endif; endif; ?>