Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Template for single post view
- * @package themify
- * @since 1.0.0
- */
- get_header(); ?>
- <?php
- /** Themify Default Variables
- * @var object */
- global $themify;
- ?>
- <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
- <!-- layout-container -->
- <div id="layout" class="pagewidth clearfix">
- <?php themify_content_before(); // hook ?>
- <!-- content -->
- <div id="content" class="list-post">
- <?php themify_content_start(); // hook ?>
- <?php get_template_part( 'includes/loop' , 'single' ); ?>
- <?php get_template_part( 'includes/author-box', 'single' ); ?>
- <?php wp_link_pages( array( 'before' => '<p class="post-pagination"><strong>' . __( 'Pages:', 'themify' ) . ' </strong>', 'after' => '</p>', 'next_or_number' => 'number', ) ); ?>
- <?php get_template_part( 'includes/post-nav' ); ?>
- <?php themify_content_end(); // hook ?>
- </div>
- <!-- /content -->
- <?php themify_content_after(); // hook ?>
- <?php endwhile; ?>
- <?php
- /////////////////////////////////////////////
- // Sidebar
- /////////////////////////////////////////////
- if ( $themify->layout != 'sidebar-none' ) : get_sidebar(); endif; ?>
- </div>
- <!-- /layout-container -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement