嵌套评论是众多站长喜欢的一种技术,WordPress实际也支持这种应用,但是需要你自己激活这项功能,在functions.php中添加如下代码  function enable_threaded_comments(){     if (is_singular() AND comments_open() AND (get_option('thread_comments') == 1)) {        wp_enqueue_script('comment-reply');     }} add_action('get_header', 'enable_threaded_comments'); 

嵌套谈论是很多站长喜爱的一种技能,WordPress实践也支撑这种使用,可是需求你自己激活这项功用,在functions.php中增加如下代码

function enable_threaded_comments(){
if (is_singular() AND comments_open() AND (get_option('thread_comments') == 1)) {
wp_enqueue_script('comment-reply');
}
}
add_action('get_header', 'enable_threaded_comments');

接下来就要去后台设置,在admin界面-Settings > Discussion,在选项前面打钩,然后挑选你需求的等级就好了。

激活嵌套谈论(怎么解开嵌套)  使用技巧 嵌套 激活 评论 新闻资讯 第1张

转载请说明出处
知优网 » 激活嵌套谈论(怎么解开嵌套)

发表评论

您需要后才能发表评论