section_post_slide_cat) ? $primebulletin_home_section->section_post_slide_cat : ''); $section_vertical_slide_category = esc_html(isset($primebulletin_home_section->section_vertical_slide_category) ? $primebulletin_home_section->section_vertical_slide_category : ''); $slider_arrows = esc_html(isset($primebulletin_home_section->ed_arrows_carousel) ? $primebulletin_home_section->ed_arrows_carousel : ''); $slider_dots = esc_html(isset($primebulletin_home_section->ed_dots_carousel) ? $primebulletin_home_section->ed_dots_carousel : ''); $slider_autoplay = esc_html(isset($primebulletin_home_section->ed_autoplay_carousel) ? $primebulletin_home_section->ed_autoplay_carousel : ''); $home_section_title_1 = isset($primebulletin_home_section->home_section_title_1) ? $primebulletin_home_section->home_section_title_1 : ''; $home_section_title_3 = isset($primebulletin_home_section->home_section_title_3) ? $primebulletin_home_section->home_section_title_3 : ''; 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' => 4, 'post__not_in' => get_option("sticky_posts"), 'category_name' => esc_html($section_post_slide_cat))); $banner_query_3 = new WP_Query(array('post_type' => 'post', 'posts_per_page' => 10, 'post__not_in' => get_option("sticky_posts"), 'category_name' => esc_html($section_vertical_slide_category))); ?>
have_posts()): ?>

have_posts()) { $banner_query_1->the_post(); $featured_image = wp_get_attachment_image_src(get_post_thumbnail_id(), 'medium_large'); $featured_image = isset( $featured_image[0] ) ? $featured_image[0] : ''; ?>
>

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

'; } ?>
have_posts()): ?>

have_posts()) { $banner_query_3->the_post(); $featured_image = wp_get_attachment_image_src(get_post_thumbnail_id(), 'medium'); $featured_image = isset( $featured_image[0] ) ? $featured_image[0] : ''; ?>
>