-
Notifications
You must be signed in to change notification settings - Fork 28
/
single.php
17 lines (17 loc) · 1.01 KB
/
single.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
get_header(); ?>
<div id="content" class="small-12 large-8 cell" role="main">
<?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<nav aria-label="You are here:" role="navigation"><ul class="breadcrumbs">','</ul></nav>'); } ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php if ( get_theme_mod('wpforge_prev_next_post_display','yes') == 'yes') : ?>
<nav class="nav-single">
<span class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '«', 'Previous post link', 'wp-forge' ) . '</span> %title' ); ?></span>
<span class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '»', 'Next post link', 'wp-forge' ) . '</span>' ); ?></span>
</nav><!-- .nav-single -->
<?php endif; // end if ?>
<?php comments_template( '', true ); ?>
<?php endwhile; // end of the loop. ?>
</div><!-- #content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>