1) { $td_comments_no_text = $num_comments . ' ' . esc_html__('COMMENTS', 'newsmag'); } else { $td_comments_no_text = esc_html__('1 COMMENT', 'newsmag'); } ?>

    'td_comment')); ?>
0)) { ?>

exists() ? $user->display_name : ''; $consent = empty( $commenter['comment_author_email'] ) ? '' : ' checked="checked"'; $fields = array( 'author' => '
' . esc_html__('Please enter your name here', 'newsmag') . '
', 'email' => '
' . esc_html__('You have entered an incorrect email address!', 'newsmag') . '
' . esc_html__('Please enter your email address here', 'newsmag') . '
', 'url' => '
', 'cookies' => '', ); $defaults = array('fields' => apply_filters('comment_form_default_fields', $fields)); $defaults['comment_field'] = '
' . esc_html__('Please enter your comment!', 'newsmag') . '
'; $defaults['comment_notes_before'] = ''; $defaults['comment_notes_after'] = ''; $defaults['title_reply'] = esc_html__('LEAVE A REPLY', 'newsmag'); $defaults['label_submit'] = esc_html__('Post Comment', 'newsmag'); $defaults['cancel_reply_link'] = esc_html__('Cancel reply', 'newsmag'); // login when you want to write a comment $post_id = get_the_ID(); $url = wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ); $defaults['must_log_in'] = '

'; $defaults['logged_in_as'] = '

' . sprintf( /* 1: edit user link, 2: accessibility text, 3: user name, 4: logout URL */ '' . esc_html__('Logged in as', 'newsmag') . ' %3$s. ' . esc_html__('Log out?', 'newsmag') . '', get_edit_user_link(), /* %s: user name */ esc_attr( sprintf( esc_html__( 'Logged in as %s. Edit your profile.' , 'newsmag'), $user_identity ) ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( get_the_ID() ) ) ) ) . '

'; comment_form($defaults); ?>
comment_type == 'pingback') { $td_isPingTrackbackClass = 'pingback'; } if($comment->comment_type == 'trackback') { $td_isPingTrackbackClass = 'trackback'; } if (!empty($comment->comment_author_email)) { $td_comment_auth_email = $comment->comment_author_email; } else { $td_comment_auth_email = ''; } $td_article_date_unix = @strtotime("{$comment->comment_date_gmt} GMT"); ?>
  • comment_approved == '0') { ?>
    $depth, 'max_depth' => $args['max_depth'], 'reply_text' => esc_html__('Reply', 'newsmag'), 'login_text' => esc_html__('Log in to leave a comment', 'newsmag') ))) ?>