-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent-link.php
26 lines (22 loc) · 1011 Bytes
/
content-link.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
<?php
/**
* @package WordPress
* @subpackage Yoko
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-link">
<?php the_content( __( 'Continue Reading →', 'yoko' ) ); ?>
<footer class="entry-meta">
<p><?php if ( count( get_the_category() ) ) : ?>
<?php printf( __( 'Categories: %2$s', 'yoko' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?> |
<?php endif; ?>
<?php $tags_list = get_the_tag_list( '', ', ' );
if ( $tags_list ): ?>
<?php printf( __( 'Tags: %2$s', 'yoko' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?> |
<?php endif; ?>
<a href="<?php echo get_permalink(); ?>"><?php _e( 'Permalink ', 'yoko' ); ?></a>
<?php edit_post_link( __( 'Edit →', 'yoko' ), '| <span class="edit-link">', '</span>' ); ?></p>
</footer><!-- end entry-meta-->
</div><!-- end entry-link -->
</article><!-- end post-<?php the_ID(); ?> -->