Move WordPress Comment Field To Bottom of The Form

By default the comment section of the post or page is in the top of every fields in the comment form. To move it to the bottom, add code below to functions.php file of the theme.

if (!function_exists('hs_move_comment_field_to_bottom')) {
    function hs_move_comment_field_to_bottom($fields)
    {
        $comment_field = $fields['comment'];
        unset($fields['comment']);
        $fields['comment'] = $comment_field;
        return $fields;
    }

    add_filter('comment_form_fields', 'hs_move_comment_field_to_bottom');
}
Shopping Cart