HOME


Mini Shell 1.0
DIR: /home/dhnidqcz/jamesakinola.com/wp-content/themes/st-resume/
Upload File :
Current File : /home/dhnidqcz/jamesakinola.com/wp-content/themes/st-resume/page.php
<?php get_header(); ?>

<div id="skip-link-target" class="mt-5">

	<!-- Main Container -->
	<div class="main-container container page-single">
		
		<article id="page-<?php the_ID(); ?>" <?php post_class(); ?>>

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

				if ( has_post_thumbnail() ) {
					echo '<div class="post-media">';
						the_post_thumbnail();
					echo '</div>';
				}

				if ( get_the_title() !== '' ) {
					echo '<header class="post-header">';
						echo '<h1 class="page-title">'. get_the_title() .'</h1>';
					echo '</header>';
				}

				echo '<div class="post-content">';
					the_content('');

					$st_resume_defaults = array(
						'before' => '<p class="single-pagination">'. esc_html__( 'Pages:', 'st-resume' ),
						'after' => '</p>'
					);

					wp_link_pages( $st_resume_defaults );
				echo '</div>';

			endwhile;
			endif;
			?>

		</article>

		<?php 
		if ( comments_open() || get_comments_number() ) {
			echo '<div class="comments-area" id="comments">';
				comments_template( '', true );
			echo '</div>';
		}
		?>

	</div><!-- .main-container -->
</div>

<?php get_footer(); ?>