登录链接未显示,评论问题

时间:2013-01-19 作者:vajrasar

我们希望用户注册并发表评论。所以我们,

选中“任何人都可以注册”选项为true

enter image description here

以下是评论。父文件的php。

    <?php
/*
 WARNING: This file is part of the core Genesis framework. DO NOT edit
 this file under any circumstances. Please do all modifications
 in the form of a child theme.
 */

/**
 * Handles the comment structure.
 *
 * This file is a core Genesis file and should not be edited.
 *
 * @category Genesis
 * @package  Templates
 * @author   StudioPress
 * @license  http://www.opensource.org/licenses/gpl-license.php GPL v2.0 (or later)
 * @link     http://www.studiopress.com/themes/genesis
 */

if ( ! empty( $_SERVER[\'SCRIPT_FILENAME\'] ) && \'comments.php\' == basename( $_SERVER[\'SCRIPT_FILENAME\'] ) )
    die ( \'Please do not load this page directly. Thanks!\' );

if ( post_password_required() ) {
    printf( \'<p class="alert">%s</p>\', __( \'This post is password protected. Enter the password to view comments.\', \'genesis\' ) );
    return;
}

do_action( \'genesis_before_comments\' );
do_action( \'genesis_comments\' );
do_action( \'genesis_after_comments\' );

do_action( \'genesis_before_pings\' );
do_action( \'genesis_pings\' );
do_action( \'genesis_after_pings\' );

do_action( \'genesis_before_comment_form\' );
do_action( \'genesis_comment_form\' );
do_action( \'genesis_after_comment_form\' );

1 个回复
最合适的回答,由SO网友:vajrasar 整理而成

最后,我按照Studiopress支持团队的建议,用老派的方式禁用所有插件并逐个启用它们,并发现“Genesis Simple Comments”插件导致了这个问题。

该插件的作者尼克说,它需要更新,所以现在这个问题已经解决了。

结束

相关推荐

如何使用GET_COMMENTS获取混合状态的评论?

有没有一种方法可以获得多个评论status 使用get_comments 作用比方说,我想两者兼得trash 和hold 评论。对于帖子也可以这样做:get_posts(array(\'post_status\' => \'draft,private,trash\')); get_posts(array(\'post_status\' => array(\'draft\', \'private\', \'trash\'))); 我想做的是:get_comments(array

登录链接未显示,评论问题 - 小码农CODE - 行之有效找到问题解决它

登录链接未显示,评论问题

时间:2013-01-19 作者:vajrasar

我们希望用户注册并发表评论。所以我们,

选中“任何人都可以注册”选项为true

enter image description here

以下是评论。父文件的php。

    <?php
/*
 WARNING: This file is part of the core Genesis framework. DO NOT edit
 this file under any circumstances. Please do all modifications
 in the form of a child theme.
 */

/**
 * Handles the comment structure.
 *
 * This file is a core Genesis file and should not be edited.
 *
 * @category Genesis
 * @package  Templates
 * @author   StudioPress
 * @license  http://www.opensource.org/licenses/gpl-license.php GPL v2.0 (or later)
 * @link     http://www.studiopress.com/themes/genesis
 */

if ( ! empty( $_SERVER[\'SCRIPT_FILENAME\'] ) && \'comments.php\' == basename( $_SERVER[\'SCRIPT_FILENAME\'] ) )
    die ( \'Please do not load this page directly. Thanks!\' );

if ( post_password_required() ) {
    printf( \'<p class="alert">%s</p>\', __( \'This post is password protected. Enter the password to view comments.\', \'genesis\' ) );
    return;
}

do_action( \'genesis_before_comments\' );
do_action( \'genesis_comments\' );
do_action( \'genesis_after_comments\' );

do_action( \'genesis_before_pings\' );
do_action( \'genesis_pings\' );
do_action( \'genesis_after_pings\' );

do_action( \'genesis_before_comment_form\' );
do_action( \'genesis_comment_form\' );
do_action( \'genesis_after_comment_form\' );

1 个回复
最合适的回答,由SO网友:vajrasar 整理而成

最后,我按照Studiopress支持团队的建议,用老派的方式禁用所有插件并逐个启用它们,并发现“Genesis Simple Comments”插件导致了这个问题。

该插件的作者尼克说,它需要更新,所以现在这个问题已经解决了。

相关推荐

如何筛选/钩入检索密码()以筛选$_POST[‘USER_LOGIN’]?

我正在开发一个网站,其中用户名是一个文件编号,称为CPF(将其视为国家ID),该网站具有以下掩码:000.000.000-00 我将用户名存储为普通数字,但我们所有的表单都必须有上面的掩码,这反过来使其_POST[\'user_login\'] 总是带着破折号和圆点。这是用户登录/用户名的示例:$_POST[\'user_login\'] = \'123.456.789-00\' $actual_username_ondb = \'12345678900\' 这对于登录来说不