$auto_transition, 'speed' => $slider_speed, 'controls' => $show_controls, 'pager' => $show_pager, 'trans' => $slider_transition )); } // Function for using Slider function the100_slider_section_cb(){ $slider_enabled = get_theme_mod('the100_home_slider_setting','yes'); if($slider_enabled=='yes'){ $slider_category = get_theme_mod('the100_home_slider_category'); if(!empty($slider_category)){ $show_caption = get_theme_mod('the100_home_slider_caption','caption-left'); ?>

0){ $team = new WP_Query(array('cat' => $the100_team_cat,'post_status'=>'publish','posts_per_page' => 4)); if($team->have_posts()){ echo "
"; while($team->have_posts()){ $team-> the_post(); echo "
"; if(has_post_thumbnail()){ echo "
"; if($the100_team_layout=='lay-one'){ the_post_thumbnail('the100-vh-large'); }else{ the_post_thumbnail('the100-square'); } echo "
"; } echo "
"; echo "
"; the_title( '

', '

' ); echo "
"; the_excerpt(); echo "
"; echo "
"; echo "
"; echo "
"; } echo "
"; wp_reset_postdata(); } } ?>

post_title); ?>

post_content,'80')); ?>
';} $the100_service_cat = get_theme_mod('the100_home_service_category','0'); if($the100_service_cat>0){ $service = new WP_Query(array('cat' => $the100_service_cat,'post_status'=>'publish','posts_per_page' => 4)); if($service->have_posts()){ echo "
"; $i=1; while($service->have_posts()){ $service-> the_post(); $j = $i/2; echo "
"; if($the100_aboutservice_layout=='lay-one'){ if(has_post_thumbnail()){ the_post_thumbnail('the100-square'); } } if($i==1){$class = "expanded";}else{$class="collapsed";} echo "
"; if($the100_aboutservice_layout=='lay-one'){ the_title( '

', '

' ); }else{ the_title('

','

'); } echo "
"; the_excerpt(); echo "
"; echo "
"; echo "
"; $i++; } echo "
"; wp_reset_postdata(); } } if($the100_aboutservice_layout=='lay-one' && !empty($the100_about_page)){ ?>
" >

0){ $testimonial = new WP_Query(array('cat' => $the100_testimonial_cat,'post_status'=>'publish','posts_per_page' => 3)); if($testimonial->have_posts()){ echo ""; wp_reset_postdata(); } } ?>

0){ $post_num = 10; if($the100_tp_layout=='lay-one' && $the100_ena_testimonial=='yes'){$post_num = 9;} $partner = new WP_Query(array('cat' => $the100_partner_cat,'post_status'=>'publish','posts_per_page' => $post_num)); if($partner->have_posts()){ echo "
"; while($partner->have_posts()){ $partner-> the_post(); if(has_post_thumbnail()){ echo ""; } } echo "
"; wp_reset_postdata(); } } ?>

0){ $post_num = 4; if($the100_blog_layout=='lay-one' || $the100_blog_layout=='lay-two'){$post_num = 3;} $blog = new WP_Query(array('cat' => $the100_blog_cat,'post_status'=>'publish','posts_per_page' => $post_num)); if($blog->have_posts()){ echo "
"; $i=1; while($blog->have_posts()){ $blog-> the_post(); $j = $i/2; echo "
"; if($the100_blog_layout=='lay-two' || $the100_blog_layout=='lay-three'){ if(has_post_thumbnail()){ if($the100_blog_layout=='lay-two'){ echo "
"; the_post_thumbnail('the100-rectangle'); the_title( '

', '

' ); echo "
"; }else{ the_post_thumbnail('the100-square'); } } echo "
"; if($the100_blog_layout!='lay-two'){ the_title( '

', '

' ); } echo '

'.get_the_date('F j,Y').'

'; if($the100_blog_layout=='lay-two'){ echo "
"; the_excerpt(); echo "
"; } echo "
"; }else{ echo "
"; echo "
"; echo ''.get_the_date('j').''; echo "
"; if($the100_blog_layout=='lay-one'){ echo ''.get_the_date('M Y',get_the_ID()).''; $cargs = array('post_id' => get_the_ID(),'count' => true); $comments = get_comments($cargs); echo ''.esc_attr($comments).' '.esc_html('Comments','the100').''; }else{ echo ''.get_the_date('M',get_the_ID()).''; } echo "
"; echo "
"; echo "
"; if($the100_blog_layout=='lay-four'){ $cargs = array('post_id' => get_the_ID(),'count' => true); $comments = get_comments($cargs); echo ''.esc_attr($comments).' '.esc_html('Comments','the100').''; } the_title( '

', '

' ); if($the100_blog_layout=='lay-four'){ echo "
"; the_excerpt(); echo "
"; } echo "
"; echo "
"; } echo "
"; $i++; } echo "
"; wp_reset_postdata(); } } ?>