Advertisement
Guest User

single.php

a guest
Aug 5th, 2015
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.22 KB | None | 0 0
  1. <?php
  2. /**
  3.  * The Template for displaying all single posts.
  4.  *
  5.  * @package WordPress
  6.  * @subpackage Pronto
  7.  * @since Pronto 1.0
  8.  */
  9.  
  10. get_header(); ?>
  11.  
  12. <?php while ( have_posts() ) : the_post(); ?>
  13.  
  14.     <?php if ( !post_password_required() ) { ?>
  15.         <?php get_template_part('content', get_post_format() ); ?>
  16.     <?php } ?>
  17.     <div id="primary" class="content-area clr">
  18.         <div id="content" class="site-content boxed" role="main">
  19.             <!-- <header class="post-header">
  20.                 <h1 class="post-header-title"><?php the_title(); ?></h1>
  21.                 <!-- <ul class="meta single-meta clr">
  22.                     <?php if ( get_theme_mod('wpex_post_date','1') == '1' ) { ?>
  23.                         <li><i class="fa fa-clock-o"></i><?php the_date(); ?></li>
  24.                     <?php } ?>
  25.                     <?php if ( get_theme_mod('wpex_post_category','1') == '1' ) { ?>
  26.                         <li><i class="fa fa-folder-open"></i><?php the_category(' / '); ?></li>
  27.                     <?php } ?>
  28.                     <!-- <?php if( comments_open() ) { ?>
  29.                         <li class="comment-scroll"><i class="fa fa-comment"></i> <?php comments_popup_link(__('Leave a comment', 'wpex'), __('1 Comment', 'wpex'), __('% Comments', 'wpex'), 'comments-link', __('Comments closed', 'wpex')); ?></li>
  30.                     <?php } ?>
  31.                     <?php if ( get_theme_mod('wpex_post_author','1') == '1' ) { ?>
  32.                         <li><i class="fa fa-user"></i><?php the_author_posts_link(); ?></li>
  33.                     <?php } ?> ->
  34.                 </ul><!-- .meta -->
  35.             </header><!-- .post-header -->
  36.             <article class="entry clr">
  37.                 <?php the_content(); ?>
  38.             </article><!-- /entry -->
  39.             <?php wp_link_pages( array( 'before' => '<div class="page-links clr">', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
  40.             <?php if ( get_theme_mod('wpex_blog_tags', '1' ) =='1' ) : ?>
  41.                 <?php the_tags('<div class="post-tags clr">','','</div>'); ?>
  42.             <?php endif; ?>
  43.             <!-- <?php comments_template(); ?>
  44.         </div><!-- #content -->
  45.         <nav class="single-nav clr">
  46.  
  47.             <?php previous_post_smart('<div class="single-nav-left col span_12 clr-margin">%link</div>', '&larr; %title', true); ?>
  48.                         <?php next_post_smart('<div class="single-nav-right col span_12">%link</div>', '%title &rarr;', true); ?>
  49.  
  50.  
  51.  
  52.  
  53.  
  54.         </nav><!-- .page-header-title -->
  55.     </div><!-- #primary -->
  56. <?php endwhile; ?>
  57. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement