Replace label, input, div with jQuery


Description: 

// https://allaboutdesign.nl/wachtwoord-vergeten/
jQuery(function($){
$("label[for='user_login']").text('Gebruikersnaam of wachtwoord');
$('input[name=wp-submit]').val('Vraag een nieuw wachtwoord aan');
$('#forgotpasswordform > div').replaceWith('Check je email (evt ook spam box) voor de bevestigingslink');
});

//https://allaboutdesign.nl/reset-wachtwoord/
jQuery(function($){
$("label[for='pass1']").text('Nieuw wachtwoord');
$("label[for='pass2']").text('Herhaal nieuw wachtwoord');
$('input[name=wp-submit]').val('Reset wachtwoord');
$('#resetpasswordform > div').replaceWith('Je hebt een nieuw wachtwoord.');
});



Kind:

jQuery


Javascript:

$("label[for='user_login']").text('Gebruikersnaam of Email');

$('input[name=wp-submit]').val('Vraag een nieuw wachtwoord aan');

$('#resetpasswordform > div').replaceWith('Je hebt een nieuw wachtwoord.');