-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
content-quote.php
31 lines (23 loc) · 979 Bytes
/
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
<?php
/**
* Template part for displaying the quote post format
*
* @package WordPress
* @subpackage Strip
*/
?>
<article id="post-<?php the_ID(); ?>" >
<div class="wrap">
<header class="entry-header">
<?php
$categories_list = get_the_category_list( __( ', ', 'strip' ) ); ?>
</header><!-- .entry-header -->
<footer class="entry-meta">
<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'quote' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'quote' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'quote' ) ); ?></a></span>
<?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .entry-meta -->
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'strip' ) ); ?>
</div><!-- .entry-content -->
</div><!-- .entry-wrap -->
</article><!-- #post-## -->