Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

55 lines (41 sloc) 2.213 kb
<?php
/**
* Quote Content Template
*
* Template used to show posts with the 'quote' post format.
*
* @package Unique
* @subpackage Template
* @since 0.1.0
* @author Justin Tadlock <justin@justintadlock.com>
* @copyright Copyright (c) 2012, Justin Tadlock
* @link http://themeforest.net/user/greenshady
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
do_atomic( 'before_entry' ); // unique_before_entry ?>
<article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // unique_open_entry ?>
<?php if ( is_singular() && is_main_query() ) { ?>
<header class="entry-header">
<?php echo apply_atomic_shortcode( 'entry_title', the_title( '<h1 class="entry-title">', '</h1>', false ) ); ?>
<?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[post-format-link] published on [entry-published] [entry-edit-link before="| "]', 'unique' ) . '</div>' ); ?>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'unique' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'unique' ) . '</div>' ); ?>
</footer><!-- .entry-footer -->
<?php } else { ?>
<div class="entry-content">
<?php the_content( __( 'Read more &rarr;', 'unique' ) ); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'unique' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'unique' ) . '</div>' ); ?>
</footer>
<?php } ?>
<?php do_atomic( 'close_entry' ); // unique_close_entry ?>
</article><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // unique_after_entry ?>
Jump to Line
Something went wrong with that request. Please try again.