• Решено takura3260

    (@takura3260)


    Здравствуйте, уважаемые участники сообщества.

    Я так понимаю за функцию must log in отвечает эта часть кода:

    <?php comment_form( array(
    		'fields' => apply_filters( 'comment_form_default_fields', $fields ),
    		'must_log_in' => '<p class="must-log-in">' .  sprintf( __( 'You must be <a href="%s">logged in</a> to post a comment.' , 'semplicemente' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( ) ) ) ) . '</p>',
    		'logged_in_as' => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>'  , 'semplicemente' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( ) ) ) ) . '</p>',
    		'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.'  , 'semplicemente' ) . ( $req ? $required_text : '' ) . '</p>',
    		'title_reply' => __( 'Leave a Reply'  , 'semplicemente' ),
    		'title_reply_to' => __( 'Leave a Reply to %s'  , 'semplicemente' ),
    		'cancel_reply_link' => __( 'Cancel reply'  , 'semplicemente' ) . '<i class="fa fa-times spaceLeft"></i>',
    		'label_submit' => __( 'Post Comment'  , 'semplicemente' ),
    		'comment_field' => '<div class="clear"></div><p class="comment-form-comment"><textarea id="comment" name="comment" rows="8" aria-required="true" placeholder="' . __( 'Comment *'  , 'semplicemente' ) . '"></textarea></p>'
    	));
    	?>

    Скажите, пожалуйста, как я могу ее активировать?

Просмотр 1 ответа (всего 1)
Просмотр 1 ответа (всего 1)
  • Тема «"Войдите, чтобы прокомментировать"» закрыта для новых ответов.