section_category_7) ? $allinone_home_section->section_category_7 : ''); $section_slide_category = esc_html(isset($allinone_home_section->section_slide_category) ? $allinone_home_section->section_slide_category : ''); $slider_arrows = esc_html(isset($allinone_home_section->ed_arrows_carousel) ? $allinone_home_section->ed_arrows_carousel : ''); $slider_dots = esc_html(isset($allinone_home_section->ed_dots_carousel) ? $allinone_home_section->ed_dots_carousel : ''); $slider_autoplay = esc_html(isset($allinone_home_section->ed_autoplay_carousel) ? $allinone_home_section->ed_autoplay_carousel : ''); $home_section_title_5 = isset($allinone_home_section->home_section_title_5) ? $allinone_home_section->home_section_title_5 : ''; if ($slider_arrows == 'yes' || $slider_arrows == '') { $arrow = 'true'; } else { $arrow = 'false'; } if ($slider_autoplay == 'yes' || $slider_autoplay == '') { $autoplay = 'true'; } else { $autoplay = 'false'; } if ($slider_dots == 'yes') { $dots = 'true'; } else { $dots = 'false'; } if (is_rtl()) { $rtl = 'true'; } else { $rtl = 'false'; } $banner_query_1 = new WP_Query(array('post_type' => 'post', 'posts_per_page' => 5, 'post__not_in' => get_option("sticky_posts"), 'category_name' => esc_html($section_slide_category))); $banner_query_2 = new WP_Query(array('post_type' => 'post', 'posts_per_page' => 2, 'post__not_in' => get_option("sticky_posts"), 'category_name' => esc_html($section_category_7))); ?>