summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'themes/mantra/content-quote.php')
-rw-r--r--themes/mantra/content-quote.php49
1 files changed, 49 insertions, 0 deletions
diff --git a/themes/mantra/content-quote.php b/themes/mantra/content-quote.php
new file mode 100644
index 00000000..102f2911
--- /dev/null
+++ b/themes/mantra/content-quote.php
@@ -0,0 +1,49 @@
+<?php
+/**
+ * The default template for displaying posts in the Quote Post Format on index and archive pages
+ *
+ * @package Cryout Creations
+ * @subpackage Mantra
+ * @since Mantra 1.0
+ */
+?>
+
+ <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <header class="entry-header">
+ <hgroup>
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'mantra' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+ </hgroup>
+ <?php cryout_post_title_hook(); ?>
+ <div class="entry-meta2">
+ <h3 class="entry-format"><?php _e( 'Quote', 'mantra' ); ?></h3>
+ <?php mantra_posted_on(); ?>
+ <?php /* if ( comments_open() && ! post_password_required() ) :*/ ?>
+ <div class="comments-link">
+ <?php mantra_comments_on(); ?>
+ </div>
+ <?php /* endif; */ ?><?php
+ cryout_post_meta_hook(); ?>
+ </div><!-- .entry-meta -->
+ </header><!-- .entry-header -->
+ <?php cryout_post_before_content_hook();
+ ?><?php if ( is_search() ) : // Only display Excerpts for Search ?>
+ <div class="entry-summary">
+ <?php the_excerpt(); ?>
+ </div><!-- .entry-summary -->
+ <?php else : ?>
+ <div class="entry-content">
+ <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'mantra' ) ); ?>
+ <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'mantra' ) . '</span>', 'after' => '</div>' ) ); ?>
+ </div><!-- .entry-content -->
+ <?php endif; ?><?php
+ cryout_post_after_content_hook(); ?>
+ <footer class="entry-meta2">
+ <?php $tag_list = get_the_tag_list( '', ', ' );
+if ( $tag_list ) { ?>
+ <span class="bl_tagg"><?php _e( 'Tagged','mantra'); print ' '.$tag_list; ?></span>
+ <?php } ?>
+
+ <?php edit_post_link( __( 'Edit', 'mantra' ), '<span class="edit-link">', '</span>' ); ?><?php
+ cryout_post_footer_hook(); ?>
+ </footer><!-- #entry-meta -->
+ </article><!-- #post-<?php the_ID(); ?> -->