Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: fd88d02c7a
Fetching contributors…

Cannot retrieve contributors at this time

52 lines (37 sloc) 2.054 kb
<?php
/**
* Quote Content Template
*
* Template used to show posts with the 'quote' post format.
*
* This can be overridden in child themes with loop-quote.php
*
* @package Cakifo
* @subpackage Template
* @since Cakifo 1.5
*/
do_atomic( 'before_entry' ); //cakifo_before_entry ?>
<article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); //cakifo_open_entry ?>
<?php if ( is_singular() && is_main_query() ) : ?>
<header class="entry-header">
<?php echo apply_atomic_shortcode( 'entry_title', '[entry-title permalink=""]' ); ?>
</header> <!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'cakifo' ), 'after' => '</p>' ) ); ?>
</div> <!-- .entry-content -->
<footer class="entry-meta">
<?php echo apply_atomic_shortcode( 'byline_quote', '<div>' . __( '[post-format-link] published on [entry-published] by [entry-author] [entry-edit-link before="| "]', 'cakifo' ) . '</div>' ); ?>
<?php echo apply_atomic_shortcode( 'entry_meta_quote', '<div>' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged: "]', 'cakifo' ) . '</div>' ); ?>
</footer> <!-- .entry-meta -->
<?php do_atomic( 'in_singular' ); // cakifo_in_singular (+ cakifo_after_singular) ?>
<?php else: ?>
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">&raquo;</span>', 'cakifo' ) ); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'cakifo' ), 'after' => '</p>' ) ); ?>
</div> <!-- .entry-content -->
<?php echo apply_atomic_shortcode( 'entry_meta_quote', '<footer class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-edit-link before=" | "]', 'cakifo' ) . '</footer>' ); ?>
<?php endif; ?>
</article> <!-- #post-<?php the_ID(); ?> -->
<?php do_atomic( 'after_entry' ); //cakifo_after_entry ?>
Jump to Line
Something went wrong with that request. Please try again.