section_category) ? $boundlessnews_home_section->section_category : ''); $slider_autoplay = esc_html(isset($boundlessnews_home_section->ed_autoplay_carousel) ? $boundlessnews_home_section->ed_autoplay_carousel : ''); $carousel_post_query = new WP_Query(array('post_type' => 'post', 'posts_per_page' => 4, 'post__not_in' => get_option("sticky_posts"), 'category_name' => esc_html($section_category))); if ($slider_autoplay == 'yes') { $autoplay = 'true'; } else { $autoplay = 'false'; } if (is_rtl()) { $rtl = 'true'; } else { $rtl = 'false'; } if ($carousel_post_query->have_posts()): ?>
have_posts()) { $carousel_post_query->the_post(); $featured_image = wp_get_attachment_image_src(get_post_thumbnail_id(), 'boundlessnews-1600-700'); $featured_image = isset($featured_image[0]) ? $featured_image[0] : ''; ?>
>

'; echo esc_html(wp_trim_words(get_the_content(), 60, '...')); echo '

'; } ?>