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()): ?>