';
$slds .= ''.$sldcom.'
';
endif;
if($slideitemshow2):
$sldcom = '
'. esc_html(sunrain_get_option('slide-text1', 'WordPress')) .'
'. esc_html(sunrain_get_option('slide-text2', 'Most Userd CMS')) .'
'. esc_html(sunrain_get_option('slide-text3', 'Ultimate Freedom')) .'
'. esc_html(sunrain_get_option('slide-text4', 'World Leading')) .'
'. esc_html(sunrain_get_option('slide-text5', 'Free to Use')) .'
';
$slds .= ''.$sldcom.'
';
endif;
if($slds) echo '';
// Heading 01 ////////////////
$heding = '';
$heading_text1 = sunrain_get_option('heading_text1', '');
$heading_des1 = sunrain_get_option('heading_des1', '');
$heading_btn1_link = sunrain_get_option( 'heading_btn1_link', '' );
$heading_btn1_text = sunrain_get_option( 'heading_btn1_text', 'Learn More' );
if($heading_text1) $heding .= ''.wp_kses_post($heading_text1).'
';
if($heading_des1) $heding .= ''.wp_kses_post($heading_des1).'
';
if($heading_btn1_link) $heding .= '';
if($heding) echo '';
// Heading 02 ////////////////
$heding = '';
$heading_text2 = sunrain_get_option('heading_text2', '');
$heading_des2 = sunrain_get_option('heading_des2', '');
if($heading_text2) $heding .= ''.wp_kses_post($heading_text2).'
';
if($heading_des2) $heding .= ''.wp_kses_post($heading_des2).'
';
if($heding) echo $heding;
// Featured Boxes ////////////////
get_template_part( 'featured-box' );
// Heading 03 ////////////////
$heding = '';
$heading_text3 = sunrain_get_option('heading_text3', '');
$heading_des3 = sunrain_get_option('heading_des3', '');
if($heading_text3) $heding .= ''.wp_kses_post($heading_text3).'
';
if($heading_des3) $heding .= ''.wp_kses_post($heading_des3).'
';
if($heding) echo ''.$heding.'
';
// Slide Blog Posts ////////////////
$lbpostv = sunrain_get_option('lbpostv', '');
if($lbpostv):
?>
Blog Posts', 'sunrain'); ?>
'post', 'orderby' => 'date', 'order' => 'DESC', 'ignore_sticky_posts' => 1, 'posts_per_page' => 4 );
$sunrain_post_slide_query = new WP_Query($sunrain_post_slide_args);
if (have_posts()) : while ( $sunrain_post_slide_query->have_posts()) : $sunrain_post_slide_query->the_post(); ?>