'post',
'posts_per_page' => 1,
);
$bizplus_home_blog_sticky_post_query = new WP_Query($bizplus_home_blog_stiky_args);
$bizplus_sticky_flag = true;
if ($bizplus_home_blog_sticky_post_query->have_posts()) :
$data_delay = 0;
while ($bizplus_home_blog_sticky_post_query->have_posts()) : $bizplus_home_blog_sticky_post_query->the_post();
if(has_post_thumbnail()){
$thumbs = wp_get_attachment_image_src( get_post_thumbnail_id( get_the_ID() ), 'bizplus-sticky-post' );
$urls = $thumbs['0'];
}
else{
$urls = get_template_directory_uri().'/assets/img/no-image.jpg';
}
$data_wow_delay = 'data-wow-delay='.$data_delay.'s';
if ($bizplus_sticky_flag == true){
if ( is_sticky()) { ?>
'post',
'posts_per_page' => absint( $bizplus_home_blog_number ),
'cat' => $bizplus_home_blog_category,
'post__not_in' => get_option( 'sticky_posts' ),
);
$bizplus_flag = true;
$bizplus_home_blog_post_query = new WP_Query($bizplus_home_blog_args);
if ($bizplus_home_blog_post_query->have_posts()) :
$data_delay = 0;
while ($bizplus_home_blog_post_query->have_posts()) : $bizplus_home_blog_post_query->the_post();
if(has_post_thumbnail()){
$thumb = wp_get_attachment_image_src( get_post_thumbnail_id( get_the_ID() ), 'bizplus-sticky-post' );
$url = $thumb['0'];
}
else{
$url = get_template_directory_uri().'/assets/img/no-image.jpg';
}
/*thumbnail lfor small post*/
if(has_post_thumbnail()){
$thumb_small = wp_get_attachment_image_src( get_post_thumbnail_id( get_the_ID() ), 'bizplus-small-post' );
$url_small = $thumb_small['0'];
}
else{
$url_small = get_template_directory_uri().'/assets/img/no-image-100-100.png';
}
$data_wow_delay = 'data-wow-delay='.$data_delay.'s';
if ( $bizplus_flag == true){
if (empty($bizplus_sticky)) { ?>