Sindbad~EG File Manager

Current Path : /home/infinitibizsol/www.erofmesquite.com/wp-content/themes/cura/inc/category/
Upload File :
Current File : /home/infinitibizsol/www.erofmesquite.com/wp-content/themes/cura/inc/category/blog-two.php

<?php
/**
 * Template for Blog Two
 *
 * @package cura
 */

?>
<!-- wraper_blog_main -->
<div class="wraper_blog_main style-two">
	<div class="container">
		<!-- row -->
		<div class="row">
			<?php if ( 'nosidebar' === radiantthemes_global_var( 'blog-layout', '', false ) ) { ?>
				<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
			<?php } else { ?>
				<?php if ( 'leftsidebar' === radiantthemes_global_var( 'blog-layout', '', false ) ) { ?>
					<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 pull-right">
				<?php } elseif ( 'rightsidebar' === radiantthemes_global_var( 'blog-layout', '', false ) ) { ?>
					<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 pull-left">
				<?php } else { ?>
					<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12">
				<?php } ?>
			<?php } ?>
			<div class="row masonry-grid blog-posts">
						<?php
    $args = array(
        'post_type' => 'post',
        'post_status' => 'publish',
        'paged' => 1,
    );
    $blog_posts = new WP_Query( $args );

							if ( $blog_posts->have_posts() ) :
								/* Start the Loop */
								while ( $blog_posts->have_posts() ) : $blog_posts->the_post();
									the_post();

								/*
								 * Include the Post-Format-specific template for the content.
								 * If you want to override this in a child theme, then include a file
								 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
								 */
								get_template_part( 'template-parts/content-blog-two', get_post_format() );
							endwhile;
						else :
							get_template_part( 'template-parts/content', 'none' );
						endif;
						?>
				</div>
				<?php if("pagination"==radiantthemes_global_var( 'category-showing', '', false ) ) {
              radiantthemes_pagination();
  } else {
          global $wp_query;
         if (  $wp_query->max_num_pages > 1 )
          ?>
            <div class="radiantthemes_loadmore"><?php echo esc_html__( 'Load More', 'cura' ); ?>..</div>

 <?php  } ?>
			</div>
			<?php if ( 'nosidebar' === radiantthemes_global_var( 'blog-layout', '', false ) ) { ?>
			<?php } else { ?>
				<?php if ( 'leftsidebar' === radiantthemes_global_var( 'blog-layout', '', false ) ) { ?>
					<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 pull-left">
				<?php } elseif ( 'rightsidebar' === radiantthemes_global_var( 'blog-layout', '', false ) ) { ?>
					<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 pull-right">
				<?php } else { ?>
					<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
				<?php } ?>
					<?php get_sidebar(); ?>
				</div>
			<?php } ?>
		</div>
		<!-- row -->
	</div>
</div>
<!-- wraper_blog_main -->

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists