Move WordPress Comment Field To Bottom of The Form

By default, the comment section of the post or page is at the top of every field in the comment form of WordPress. To move it to the bottom, add the code below to the “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