代码拉取完成,页面将自动刷新
<?php if ( is_single() ) : ?>
<div class="term-lists">
<?php if ( count( get_the_category() ) ) : ?>
<span class="cat-links">
<?php printf( __( '<span class="%1$s">Categories:</span> %2$s', 'wp_distinctionpp' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?>
</span>
<?php endif; ?>
<?php
$tags_list = get_the_tag_list( '', ', ' );
if ( $tags_list ):
?>
<span class="tag-links">
<?php printf( __( '<span class="%1$s">Tags:</span> %2$s', 'wp_distinctionpp' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
</span>
<?php endif; ?>
</div>
<?php endif; ?>
<div class="utility">
<?php if(function_exists('has_post_format'))
$post_id = get_the_ID();
$format = get_post_format( $post_id );
$format_link = get_post_format_link($format);
?>
<span class="comments-link">
<?php if ($format == '') { ?>
<span class="icon-default format-icons">post</span>
<?php }else{ ?>
<a class="icon-<?php echo $format; ?> format-icons" href="<?php echo $format_link; ?>"><?php echo $format; ?></a>
<?php } ?>
<span class="meta-sep">|</span>
<?php comments_popup_link( __( 'Leave a comment', 'distinctionpp' ), __( '1 Comment', 'wp_distinctionpp' ), __( '% Comments', 'distinctionpp' ), __( 'Comments Off', 'wp_distinctionpp' ) ); ?>
<?php edit_post_link( __( 'Edit', 'wp_distinctionpp' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
</span>
<?php wp_distinctionpp_posted_on(); ?>
</div><!-- .utility -->
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。