This repository has been archived by the owner on Mar 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
content-quote.php
41 lines (35 loc) · 2.39 KB
/
content-quote.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
/**
* The template for displaying quote post format
*
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header><h1><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'pilotfish'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h1></header><!-- Post Title -->
<div class="post-entry">
<?php the_content(__('Continue Reading →', 'pilotfish')); ?>
<?php if ( get_the_author_meta('description') != '' ) : ?>
<div id="author-meta">
<?php if (function_exists('get_avatar')) { echo get_avatar( get_the_author_meta('email'), '80' ); }?>
<div class="about-author"><?php _e('About','pilotfish'); ?> <?php the_author_posts_link(); ?></div>
<p><?php the_author_meta('description') ?></p>
</div><!-- end of #author-meta -->
<?php endif; // no description, no author's meta ?>
<?php wp_link_pages(array('before' => '<div class="pagination">' . __('Pages:', 'pilotfish'), 'after' => '</div>')); ?>
</div><!-- end of .post-entry -->
<footer class="post-data">
<div class="post-meta">
<?php pilotfish_entry_meta(); ?>
<?php if ( comments_open() ) : ?>
<span class="comments-link">
<span class="mdash">—</span>
<?php comments_popup_link(__('No Response ↓', 'pilotfish'), __('One Response ↓', 'pilotfish'), __('% Responses ↓', 'pilotfish')); ?>
</span>
<?php endif; ?>
</div><!-- end of .post-meta -->
<?php the_tags(__('TAGS:', 'pilotfish') . ' ', ', ', ' | '); ?>
<?php printf(__('FILED UNDER: %s', 'pilotfish'), get_the_category_list(', ')); ?> |
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'pilotfish'), the_title_attribute('echo=0')); ?>"><?php _e('Permalink', 'pilotfish'); ?></a>
</footer><!-- end of .post-data -->
<div class="post-edit"><?php edit_post_link(__('Edit', 'pilotfish')); ?></div>
</article><!-- end of #post-<?php the_ID(); ?> -->