Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.25 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Template for single post view
  4.  * @package themify
  5.  * @since 1.0.0
  6.  */
  7.  
  8. get_header(); ?>
  9.  
  10. <?php
  11. /** Themify Default Variables
  12.  *  @var object */
  13. global $themify;
  14. ?>
  15.  
  16. <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
  17.  
  18. <!-- layout-container -->
  19. <div id="layout" class="pagewidth clearfix">
  20.  
  21.     <?php themify_content_before(); // hook ?>
  22.     <!-- content -->
  23.     <div id="content" class="list-post">
  24.         <?php themify_content_start(); // hook ?>
  25.        
  26.         <?php get_template_part( 'includes/loop' , 'single' ); ?>
  27.        
  28.         <?php get_template_part( 'includes/author-box', 'single' ); ?>
  29.        
  30.  
  31.         <?php wp_link_pages( array( 'before' => '<p class="post-pagination"><strong>' . __( 'Pages:', 'themify' ) . ' </strong>', 'after' => '</p>', 'next_or_number' => 'number', ) ); ?>
  32.        
  33.        
  34.  
  35.         <?php get_template_part( 'includes/post-nav' ); ?>
  36.        
  37.         <?php themify_content_end(); // hook ?>
  38.     </div>
  39.     <!-- /content -->
  40.     <?php themify_content_after(); // hook ?>
  41.  
  42. <?php endwhile; ?>
  43.  
  44. <?php
  45. /////////////////////////////////////////////
  46. // Sidebar                         
  47. /////////////////////////////////////////////
  48. if ( $themify->layout != 'sidebar-none' ) : get_sidebar(); endif; ?>
  49.  
  50. </div>
  51. <!-- /layout-container -->
  52.    
  53. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement