// Check if there is content we want to show.
if ($blog_content->have_posts() || !empty($munsa_lite_featured_pages)) {
    // Check do we have featured pages. This function returns page ID:s in an array.
    if (!empty($munsa_lite_featured_pages)) {
        ?>

		<div id="featured-pages-area" class="featured-pages-area front-page-area">
			<div class="featured-pages-wrapper">

				<?php 
        foreach ($munsa_lite_featured_pages as $munsa_lite_page_id) {
            // Begins the loop through found pages from customize settings.
            ?>
	
					<?php 
            $munsa_lite_bg = munsa_lite_get_post_thumbnail($post_thumbnail = 'munsa-medium', $id = $munsa_lite_page_id);
            ?>
			
					<article id="post-<?php 
            echo $munsa_lite_page_id;
            ?>
" <?php 
            post_class($class = '', $post_id = $munsa_lite_page_id);
            ?>
 <?php 
            hybrid_attr('post');
            ?>
>
					
						<div class="entry-wrapper">
					
Example #2
0
			<div class="sk-three-bounce">
				<div class="sk-child sk-bounce1"></div>
				<div class="sk-child sk-bounce2"></div>
				<div class="sk-child sk-bounce3"></div>
			</div>
		</div>
	</div>
		
		<a class="skip-link screen-reader-text" href="#content"><?php 
esc_html_e('Skip to content', 'munsa-lite');
?>
</a>
		
		<?php 
// Get Featured image.
$munsa_lite_bg = munsa_lite_get_post_thumbnail($post_thumbnail = 'full');
?>

		<?php 
if (is_page_template('pages/front-page.php')) {
    ?>
			<div class="featured-content"<?php 
    if (has_post_thumbnail()) {
        echo ' style="background-image:url(' . esc_url($munsa_lite_bg) . ');"';
    }
    ?>
>
		<?php 
}
?>