Sindbad~EG File Manager

Current Path : /var/www/quickscrum.com/wp-content/themes/Quickscrum/
Upload File :
Current File : /var/www/quickscrum.com/wp-content/themes/Quickscrum/template-blog.php

<?php
/**
 * Quickscrum by NiceThemes.
 *
 * Template Name: Blog
 *
 * @package   Quickscrum
 * @author    NiceThemes <hello@nicethemes.com>
 * @license   GPL-2.0+
 * @link      http://nicethemes.com/theme/Quickscrum
 * @copyright 2020 NiceThemes
 * @since     1.0.0
 */
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

get_header();

if ( get_query_var( 'paged' ) ) $paged = get_query_var( 'paged' ); elseif ( get_query_var( 'page' ) ) $paged = get_query_var( 'page' ); else $paged = 1;

query_posts( [ 'post_type' => 'post', 'paged' => $paged ] ); ?>

<!-- BEGIN #content -->
<section id="content" class="<?php echo $post->post_name; ?>">

<?php if ( have_posts() ) : ?>

	<?php while ( have_posts() ) : the_post(); ?>

			<!-- BEGIN .post -->
			<article class="post clearfix">

				<header>
					<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf( __( 'Permanent Link to %s', 'nicethemes' ), esc_attr( get_the_title() ) ); ?>"><?php the_title(); ?></a></h2>
					<?php nice_post_meta(); ?>
				</header>

				<div class="entry">

					<?php if ( has_post_thumbnail() ) :	?>

						<figure class="featured-image">
							<a href="<?php the_permalink(); ?>" title="<?php printf( __( 'Permanent Link to %s', 'nicethemes' ), esc_attr( get_the_title() ) ); ?>">
								<?php nice_image( [ 'width' => 320, 'height' => 200, 'class' => 'wp-post-image' ] ); ?>
							</a>
						</figure>

					<?php endif; ?>

					<div class="post-content">
						<?php nice_excerpt( 400 ); ?>
					</div>

				</div>

			<!-- END .post -->
			</article>

	<?php endwhile; ?>

<?php else : ?>

	<?php _e( 'Sorry, no posts matched your criteria.', 'nicethemes' ); ?>

<?php endif; ?>

<?php nice_pagenavi(); ?>

<?php wp_reset_query(); ?>

<!-- END #content -->
</section>

<?php
get_sidebar();
get_footer();

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