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