Advertisement
Guest User

Spun content-single.php

a guest
Oct 30th, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.70 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.         <?php
  27.             /* translators: used between list items, there is a space after the comma */
  28.             $categories_list = get_the_category_list( __( ', ', 'spun' ) );
  29.             if ( $categories_list && spun_categorized_blog() ) :
  30.         ?>
  31.         <span class="cat-links">
  32.             <?php printf( __( '%1$s', 'spun' ), $categories_list ); ?>
  33.         </span>
  34.         <?php endif; // End if categories ?>
  35.  
  36.         <?php
  37.             /* translators: used between list items, there is a space after the comma */
  38.             $tags_list = get_the_tag_list( '', __( ', ', 'spun' ) );
  39.             if ( $tags_list ) :
  40.         ?>
  41.  
  42.         <span class="tags-links">
  43.             <?php printf( __( '%1$s', 'spun' ), $tags_list ); ?>
  44.         </span>
  45.         <?php endif; // End if $tags_list ?>
  46.  
  47.         <?php edit_post_link( __( 'Edit', 'spun' ), '<span class="edit-link">', '</span>' ); ?>
  48.     </footer><!-- .entry-meta -->
  49. </article><!-- #post-<?php the_ID(); ?> -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement