Advertisement
Guest User

[Spun] content-single.php

a guest
Sep 12th, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.77 KB | None | 0 0
  1. <?php
  2. /**
  3.  * @package Spun
  4.  * @since Spun 1.0
  5.  */
  6. ?>
  7. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  8.     <header class="entry-header">
  9.         <h1 class="entry-title"><?php the_title(); ?></h1>
  10.     </header><!-- .entry-header -->
  11.  
  12.     <div class="entry-content">
  13.         <?php the_content(); ?>
  14.         <?php wp_link_pages( array( 'before' => '<div class="page-links">', 'after' => '</div>', 'link_before' => '<span class="active-link">', 'link_after' => '</span>' ) ); ?>
  15.     </div><!-- .entry-content -->
  16.  
  17.     <footer class="entry-meta">
  18.         <?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
  19.             <span class="comments-link">
  20.                 <a href="#comments-toggle">
  21.                     <span class="tail">Add a comment</span>
  22.                     <?php echo comments_number( __( '+', 'spun' ), __( '1', 'spun' ), __( '%', 'spun' ) ); ?>
  23.                 </a>
  24.             </span>
  25.         <?php endif; ?>
  26.         <span class="post-date">
  27.             <?php spun_posted_on(); ?>
  28.         </span>
  29.         <?php
  30.             /* translators: used between list items, there is a space after the comma */
  31.             $categories_list = get_the_category_list( __( ', ', 'spun' ) );
  32.             if ( $categories_list && spun_categorized_blog() ) :
  33.         ?>
  34.         <span class="cat-links">
  35.             <?php printf( __( '%1$s', 'spun' ), $categories_list ); ?>
  36.         </span>
  37.         <?php endif; // End if categories ?>
  38.  
  39.         <?php
  40.             /* translators: used between list items, there is a space after the comma */
  41.             $tags_list = get_the_tag_list( '', __( ', ', 'spun' ) );
  42.             if ( $tags_list ) :
  43.         ?>
  44.  
  45.         <span class="tags-links">
  46.             <?php printf( __( '%1$s', 'spun' ), $tags_list ); ?>
  47.         </span>
  48.         <?php endif; // End if $tags_list ?>
  49.  
  50.         <?php edit_post_link( __( 'Edit', 'spun' ), '<span class="edit-link">', '</span>' ); ?>
  51.     </footer><!-- .entry-meta -->
  52. </article><!-- #post-<?php the_ID(); ?> -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement