nuevos nuevos

hola
hola
hola

/** * Customize comment form default fields. * Move the comment_field below the author, email, and url fields. */ function wpse250243_comment_form_default_fields( $fields ) { $commenter = wp_get_current_commenter(); $user = wp_get_current_user(); $user_identity = $user->exists() ? $user->display_name : ''; $req = get_option( 'require_name_email' ); $aria_req = ( $req ? " aria-required='true'" : '' ); $fields = [ 'author' => '

' . ' ' . '

', 'email' => '', 'url' => '

' . '

', 'comment_field' => '

', ]; return $fields; } add_filter( 'comment_form_default_fields', 'wpse250243_comment_form_default_fields' ); /** * Remove the original comment field because we've added it to the default fields * using wpse250243_comment_form_default_fields(). If we don't do this, the comment * field will appear twice. */ function wpse250243_comment_form_defaults( $defaults ) { if ( isset( $defaults[ 'comment_field' ] ) ) { $defaults[ 'comment_field' ] = ''; } return $defaults; } add_filter( 'comment_form_defaults', 'wpse250243_comment_form_defaults', 10, 1 );