section_post_slide_cat) ? $allinone_home_section->section_post_slide_cat : ''); $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))); if ($banner_query_1->have_posts()): ?>
have_posts()) { $banner_query_1->the_post(); $featured_image = wp_get_attachment_image_src(get_post_thumbnail_id(), 'full'); $featured_image = isset($featured_image[0]) ? $featured_image[0] : ''; $featured_image_medium = wp_get_attachment_image_src(get_post_thumbnail_id(), 'medium'); $featured_image_medium = isset($featured_image_medium[0]) ? $featured_image_medium[0] : ''; ?>
>

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

'; } ?>
'; $slider_pagenav .= '
'; $slider_pagenav .= '

' . esc_html(get_the_title()) . '

'; $slider_pagenav .= '
'; ?>