<?php get_header(); ?>

	


<?php

$newsjolt_magazine_index_cn = esc_html(get_theme_mod('newsosa_index_class_name_settings'));
$newsjolt_magazine_feature_change_style = esc_html(get_theme_mod('newsosa_feature_change_style_settings'));

$is_elementor_theme_exist = function_exists( 'elementor_theme_do_location' );


if ( ! $is_elementor_theme_exist || ! elementor_theme_do_location( 'index' ) ) {

?>

<div id="content" class="page-content">

	<div class="flowid  
			<?php if ( !empty( $newsjolt_magazine_index_cn )): ?>
					<?php echo esc_attr($newsjolt_magazine_index_cn); ?>
				<?php else: ?> 
					<?php echo 'newsjolt-magazine-index'; ?>
			<?php endif; ?> ">


		<!-- BEGIN SHOW -->
        <div class="mg-auto wid-90 mobwid-90">
        	<div class="
                        <?php if ( !empty( $newsjolt_magazine_feature_change_style )): ?>
                            <?php echo esc_attr($newsjolt_magazine_feature_change_style); ?>
                            <?php else: ?> 
                            <?php echo 'newsjolt-magazine-feature-nineteen'; ?>
                        <?php endif; ?>
                        newsjolt-magazine-no-feature">


                        
				<div class="newsjolt-magazine-show newsjolt-magazine-show-mob-no dsply-fl fl-wrap jc-sp-btw">
					<div class="left-side wid-33 mobwid-100">
					<?php $newsjolt_magazine_index_blog_posts = new WP_Query( array( 'posts_per_page' => 5, 'paged' => $paged ) );

		                        if ( $newsjolt_magazine_index_blog_posts->have_posts() ) : while ( $newsjolt_magazine_index_blog_posts->have_posts() ) : $newsjolt_magazine_index_blog_posts->the_post(); ?>

		                        <div class="wid-100 mobwid-100 newsjolt-magazine-show-items relative">
			                        	<?php if ( has_post_thumbnail()) : ?>
						                <a class="items-img-link" href="<?php the_permalink(); ?>"  >
						                    <?php the_post_thumbnail(); ?>
						                </a>
						                <?php else: ?>
						                	<a class="user-no-img-link" href="<?php the_permalink(); ?>"  >
							                    <div class="user-no-img-items">
							                        <div class="user-no-img-items-inner text-center">
							                            <div class=""><?php esc_html_e( 'No Image', 'newsosa' ); ?></div>
							                        </div>
							                    </div>
						                	</a>
						                <?php endif; ?>
							            <div class="newsjolt-magazine-show-items-content text-center">
							                <div class="date"><?php the_time(get_option('date_format')); ?></div>
							                <h5>
							                	<a href="<?php the_permalink(); ?>"  >
							                        <?php the_title(); ?>
							                    </a>
							                </h5>
							                <p>
							                	<a class="excerpt" href="<?php the_permalink(); ?>">
							                		<?php the_excerpt(__('Read more &raquo;', 'newsosa')); ?>
							                	</a>
							                </p>
							            </div>
							        
		                        </div>

						<?php endwhile; else : ?>
								<h2><?php esc_html_e('No posts Found!', 'newsosa'); ?></h2>

								
						<?php endif; ?>	

						<?php wp_reset_postdata(); ?>

					</div>
					<div class="middle-side wid-33 dsply-fl fl-wrap jc-sp-btw mobwid-100">
						<?php $newsjolt_magazine_index_middle_side_blog_posts = new WP_Query( array( 'posts_per_page' => 5, 'paged' => $paged ) );

		                        if ( $newsjolt_magazine_index_middle_side_blog_posts->have_posts() ) : while ( $newsjolt_magazine_index_middle_side_blog_posts->have_posts() ) : $newsjolt_magazine_index_middle_side_blog_posts->the_post(); ?>

		                        <div class="wid-49 dsply-fl mobwid-100 newsjolt-magazine-show-items relative">
		                        		<div class="wid-100 relative newsjolt-magazine-show-items-link">
				                        	<?php if ( has_post_thumbnail()) : ?>
							                <a href="<?php the_permalink(); ?>"  >
							                    <?php the_post_thumbnail(); ?>
							                </a>
							                <?php else: ?>
							                	<a href="<?php the_permalink(); ?>"  >
								                    <div class="user-no-img-items">
								                        <div class="user-no-img-items-inner text-center">
								                            <div class=""><?php esc_html_e( 'No Image', 'newsosa' ); ?></div>
								                        </div>
								                    </div>
							                	</a>
							                <?php endif; ?>
						            	</div>
							            <div class="wid-100 jc-center ai-center dsply-fl newsjolt-magazine-show-items-content text-center">
							            	<div class="newsjolt-magazine-show-items-content-inner">
								                <div class="date"><?php the_time(get_option('date_format')); ?></div>
								                <h5>
								                	<a href="<?php the_permalink(); ?>"  >
								                        <?php the_title(); ?>
								                    </a>
								                </h5>
								                <p class="para">
								                	<a class="excerpt" href="<?php the_permalink(); ?>">
								                		<?php the_excerpt(__('Read more &raquo;', 'newsosa')); ?>
								                	</a>
								                </p>
							            	</div>
							            </div>
							        
		                        </div>

						<?php endwhile; else : ?>
								<h2><?php esc_html_e('No posts Found!', 'newsosa'); ?></h2>

								
						<?php endif; ?>	

						<?php wp_reset_postdata(); ?>

					</div>

					<div class="right-side wid-33 mobwid-100">
					<?php $newsjolt_magazine_index_right_blog_posts = new WP_Query( array( 'posts_per_page' => 4, 'paged' => $paged ) );

		                        if ( $newsjolt_magazine_index_right_blog_posts->have_posts() ) : while ( $newsjolt_magazine_index_right_blog_posts->have_posts() ) : $newsjolt_magazine_index_right_blog_posts->the_post(); ?>

		                        <div class="wid-100 mobwid-100 newsjolt-magazine-show-items relative">
			                        	<?php if ( has_post_thumbnail()) : ?>
						                <a href="<?php the_permalink(); ?>"  >
						                    <?php the_post_thumbnail(); ?>
						                </a>
						                <?php else: ?>
						                	<a href="<?php the_permalink(); ?>"  >
							                    <div class="user-no-img-items">
							                        <div class="user-no-img-items-inner text-center">
							                            <div class=""><?php esc_html_e( 'No Image', 'newsosa' ); ?></div>
							                        </div>
							                    </div>
						                	</a>
						                <?php endif; ?>
							            <div class="newsjolt-magazine-show-items-content text-center">
							                <div class="date"><?php the_time(get_option('date_format')); ?></div>
							                <h5>
							                	<a href="<?php the_permalink(); ?>"  >
							                        <?php the_title(); ?>
							                    </a>
							                </h5>
							                <p>
							                	<a class="excerpt" href="<?php the_permalink(); ?>">
							                		<?php the_excerpt(__('Read more &raquo;', 'newsosa')); ?>
							                	</a>
							                </p>
							            </div>
							        
		                        </div>

						<?php endwhile; else : ?>
								<h2><?php esc_html_e('No posts Found!', 'newsosa'); ?></h2>

								
						<?php endif; ?>	

						<?php wp_reset_postdata(); ?>

					</div>	

				</div>
			</div>
		</div>
		<!-- END SHOW -->


	    <div class="mg-auto wid-90 mobwid-90">
	        
	        <div class="inner dsply-fl fl-wrap jc-sp-btw">
	            
	            <div class="wid-70-5 mobwid-100 blog-2-col-inner">
	            	

	            	
                    <!-- BEGIN News Magazine DIFF-->

                    <div class="newsjolt-magazine-no-diff">
	                    <div class="newsjolt-magazine-diff dsply-fl fl-wrap">

	                        <div class="left-side wid-50 mobwid-100">
	                        <?php $newsjolt_magazine_diff_blog_posts = new WP_Query( array( 'posts_per_page' => 6, 'paged' => $paged ) );

	                                    if ( $newsjolt_magazine_diff_blog_posts->have_posts() ) : while ( $newsjolt_magazine_diff_blog_posts->have_posts() ) : $newsjolt_magazine_diff_blog_posts->the_post(); ?>

	                                    <div class="wid-100 mobwid-100 newsjolt-magazine-diff-items relative">
	                                            <?php if ( has_post_thumbnail()) : ?>
	                                            <a href="<?php the_permalink(); ?>"  >
	                                                <?php the_post_thumbnail(); ?>
	                                            </a>
	                                            <?php else: ?>
	                                                <a href="<?php the_permalink(); ?>"  >
	                                                    <div class="user-no-img-items">
	                                                        <div class="user-no-img-items-inner text-center">
	                                                            <div class=""><?php esc_html_e( 'No Image', 'newsosa' ); ?></div>
	                                                        </div>
	                                                    </div>
	                                                </a>
	                                            <?php endif; ?>
	                                            <div class="newsjolt-magazine-diff-items-content text-left">
	                                                <h5><a href="<?php the_permalink(); ?>"  >
	                                                        <?php the_title(); ?>
	                                                    </a>
	                                                </h5>
	                                                <div class="date"><?php the_time(get_option('date_format')); ?></div>
	                                                <p>
	                                                	<a class="excerpt" href="<?php the_permalink(); ?>">
	                                                		<?php the_excerpt(__('Read more &raquo;', 'newsosa')); ?>
	                                                	</a>
	                                                </p>
	                                            </div>
	                                        
	                                    </div>

	                            <?php endwhile; else : ?>
		                            <h2><?php esc_html_e('No posts Found!', 'newsosa'); ?></h2>

		                            
	                            <?php endif; ?> 

								<?php wp_reset_postdata(); ?>

	                        </div>
	                        <div class="right-side wid-50 mobwid-100">
	                            <?php $newsjolt_magazine_right_diff_side_blog_posts = new WP_Query( array( 'posts_per_page' => 10, 'paged' => $paged ) );

	                                    if ( $newsjolt_magazine_right_diff_side_blog_posts->have_posts() ) : while ( $newsjolt_magazine_right_diff_side_blog_posts->have_posts() ) : $newsjolt_magazine_right_diff_side_blog_posts->the_post(); ?>

	                                    <div class="wid-100  mobwid-100 newsjolt-magazine-diff-items relative">
	                                        <div class="newsjolt-magazine-diff-items-inner dsply-fl jc-sp-btw">
	                                            <div class="wid-34 relative newsjolt-magazine-diff-items-link">
	                                                <?php if ( has_post_thumbnail()) : ?>
	                                                <a href="<?php the_permalink(); ?>"  >
	                                                    <?php the_post_thumbnail(); ?>
	                                                </a>
	                                                <?php else: ?>
	                                                    <a href="<?php the_permalink(); ?>"  >
	                                                        <div class="user-no-img-items">
	                                                            <div class="user-no-img-items-inner text-center">
	                                                                <div class=""><?php esc_html_e( 'No Image', 'newsosa' ); ?></div>
	                                                            </div>
	                                                        </div>
	                                                    </a>
	                                                <?php endif; ?>
	                                            </div>
	                                            <div class="wid-65 newsjolt-magazine-diff-items-content text-left">
	                                                <div class="newsjolt-magazine-diff-items-content-inner">
	                                                    <h5>
	                                                    	<a href="<?php the_permalink(); ?>"  >
	                                                            <?php the_title(); ?>
	                                                        </a>
	                                                    </h5>
	                                                    <div class="date"><?php the_time(get_option('date_format')); ?></div>
	                                                    <p class="para">
	                                                        <a class="excerpt" href="<?php the_permalink(); ?>">
	                                                            <?php the_excerpt(__('Read more &raquo;', 'newsosa')); ?>
	                                                        </a>
	                                                    </p>
	                                                </div>
	                                            </div>
	                                        </div>
	                                    </div>

	                            <?php endwhile; else : ?>
	                                <h2><?php esc_html_e('No posts Found!', 'newsosa'); ?></h2>

	                            	
	                            <?php endif; ?> 

						<?php wp_reset_postdata(); ?>

	                        </div>
                    	</div>
                    </div>


                    <!-- END News Magazine DIFF -->
	            	

	            	
	                <div class="mg-tp dsply-fl fl-wrap">
	                <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>	

	                	<?php get_template_part('content', get_post_format());  ?>
	                	 
	                	
	                    <?php endwhile; else : ?>
							<h2><?php esc_html_e('No posts Found!', 'newsosa'); ?></h2>
	                    <?php endif; ?>

	                </div>
	                <ul class="pagination flowid">
					   <?php the_posts_pagination(); ?>
					</ul>
	            </div>
	            <?php get_sidebar(); ?>

	        </div>

	    </div>
	</div>
</div>

<?php } ?>


<?php get_footer(); ?>