'
', 'email' => '
', 'url' => '
' ); return $fields; } } add_filter('comment_form_default_fields', 'anews_comment_form_default_fields'); /*----------------------------------------- OVERWRITE COMMENT FORM DEFAULT -------------------------------------------*/ if( ! function_exists('anews_comment_form_defaults') ){ function anews_comment_form_defaults( $defaults ) { global $aria_req; $defaults = array( 'class_form' => 'comment-form', 'title_reply' => esc_html__( 'Leave A Comment', 'anews' ), 'comment_field' => '
', 'comment_notes_before' => '', 'label_submit' => esc_html__( 'Post Comment', 'anews' ), ); return $defaults; } } add_filter( 'comment_form_defaults', 'anews_comment_form_defaults' ); /*------------------------------ CUSTOM COMMENT --------------------------------*/ if ( !function_exists('anews_comment') ) { function anews_comment($comment, $args, $depth) { $comment = $GLOBALS['comment']; ?>
  • comment_parent != '0' ) { $avatar_size = 80; } echo get_avatar( $comment->comment_author_email,$avatar_size ); ?>
    $depth, 'max_depth' => $args['max_depth'], 'reply_text' => ''.esc_html__( 'Reply', 'anews' ), ) ) ); ?>
    comment_approved == '0' ) : ?>