-
Notifications
You must be signed in to change notification settings - Fork 32
/
content-quote.php
48 lines (41 loc) · 1.81 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
42
43
44
45
46
47
48
<?php
/**
*
* The template for displaying quote post formats.
*
* @package Decode
*/
?>
<?php tha_entry_before(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php tha_entry_top(); ?>
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'decode' ) ); ?>
</div><!-- .entry-content -->
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'decode' ), 'after' => '</div>' ) ); ?>
<footer class="entry-footer">
<?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
<?php if( get_theme_mod( 'show_leave_a_comment_link', true ) == true ): ?>
<div class="comments-link" data-customizer="leave-a-comment">
<?php comments_popup_link( __( 'Leave a comment', 'decode' ), __( '1 Comment', 'decode' ), __( '% Comments', 'decode' ) ); ?>
</div>
<?php else: ?>
<div class="comments-link">
<?php comments_popup_link( '', __( '1 Comment', 'decode' ), __( '% Comments', 'decode' ) ); ?>
</div>
<?php endif; ?>
<?php endif; ?>
<?php edit_post_link( __( 'Edit', 'decode' ), '<span class="edit-link">', '</span>' ); ?>
<div class="entry-meta">
<?php if ( get_theme_mod( 'show_tags', false ) == true ) : ?>
<p class="tags"><?php the_tags( __( 'Tagged as: ', 'decode' ),', ' ); ?></p>
<?php endif; ?>
<?php if ( get_theme_mod( 'show_categories', false ) == true ) : ?>
<p class="categories"><?php esc_html_e( 'Categorized in: ', 'decode' ) . the_category( ', ' ); ?></p>
<?php endif; ?>
<p class="date"><?php decode_posted_on(); ?></p>
</div>
</footer><!-- .entry-footer -->
<?php tha_entry_bottom(); ?>
</article><!-- #post-<?php the_ID(); ?> -->
<?php tha_entry_after(); ?>