<?php
/*
 
 * The template for displaying portfolio pages. Nothing special here
 *

 */

get_header(); ?>

	<div id="primary" class="content-area cases">
		<div id="content" class="site-content" role="main">

			<?php /* The loop */ ?>
			<?php while ( have_posts() ) : the_post(); ?>

				<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

						<div class="casenavi">
							<?php echo '<a href="'.esc_url(get_permalink(get_adjacent_post(false,'',false))).'"><span class="icon-arrow-right3"></span></a>'; ?>
							<?php echo '<a href="'.esc_url(get_permalink(get_adjacent_post(false,'',true))).'"><span class="icon-arrow-left3"></span></a>'; ?>
						</div>
					
					<div class="entry-content">
						<?php the_content(); ?>
						<?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'the-guard' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
					</div><!-- .entry-content -->


						<?php edit_post_link( esc_html__( 'Edit', 'the-guard' ), '<span class="edit-link">', '</span>' ); ?>

				</article><!-- #post -->

			<?php endwhile; ?>

		</div><!-- #content -->
	</div><!-- #primary -->

<?php get_footer(); ?>
