如何wordpress删除评论内容的时间?
当别人评论完之后就会显示评论,而评论上面有一个时间,如何删除,我使用的是WordPress里面的:Simplify主题代码如下:Simplify:评论(comments....
当别人评论完之后就会显示评论,而评论上面有一个时间,如何删除,我使用的是WordPress里面的:Simplify主题
代码如下:
Simplify: 评论 (comments.php)
<?php
/* Simplify Theme's Comments Area for Single Pages
Copyright: 2012-2014, D5 Creation, www.d5creation.com
Based on the Simplest D5 Framework for WordPress
Since Simplify 1.0
*/
if ( post_password_required() ) { return; }
?>
<div id="commentsbox">
<?php if ( have_comments() ) : ?>
<h2 class="comments"><?php comments_number(__('No Comments','simplify'), __('One Comment','simplify'), __('% Comments','simplify') );?>to <a href="<?php the_permalink(); ?>"><?php the_title();?></a></h2>
<ol class="commentlist">
<?php wp_list_comments(); ?>
</ol>
<div class="comment-nav">
<div class="floatleft">
<?php previous_comments_link() ?>
</div>
<div class="floatright">
<?php next_comments_link() ?>
</div>
</div>
<?php else : ?>
<?php if ( ! comments_open() && ! is_page() ) : ?>
<p class="watermark"><?php echo __('Comments are Closed', 'simplify'); ?></p>
<?php endif; ?>
<?php endif; ?>
<?php if ( comments_open() ) : ?>
<div id="comment-form">
<?php comment_form(); ?>
</div>
<?php endif; ?>
</div> 展开
代码如下:
Simplify: 评论 (comments.php)
<?php
/* Simplify Theme's Comments Area for Single Pages
Copyright: 2012-2014, D5 Creation, www.d5creation.com
Based on the Simplest D5 Framework for WordPress
Since Simplify 1.0
*/
if ( post_password_required() ) { return; }
?>
<div id="commentsbox">
<?php if ( have_comments() ) : ?>
<h2 class="comments"><?php comments_number(__('No Comments','simplify'), __('One Comment','simplify'), __('% Comments','simplify') );?>to <a href="<?php the_permalink(); ?>"><?php the_title();?></a></h2>
<ol class="commentlist">
<?php wp_list_comments(); ?>
</ol>
<div class="comment-nav">
<div class="floatleft">
<?php previous_comments_link() ?>
</div>
<div class="floatright">
<?php next_comments_link() ?>
</div>
</div>
<?php else : ?>
<?php if ( ! comments_open() && ! is_page() ) : ?>
<p class="watermark"><?php echo __('Comments are Closed', 'simplify'); ?></p>
<?php endif; ?>
<?php endif; ?>
<?php if ( comments_open() ) : ?>
<div id="comment-form">
<?php comment_form(); ?>
</div>
<?php endif; ?>
</div> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询