Skip to content

Instantly share code, notes, and snippets.

@max-kk
Last active November 27, 2019 09:53
Show Gist options
  • Save max-kk/bbea2d9bff3bc3fa5e54b24253d7eed8 to your computer and use it in GitHub Desktop.
Save max-kk/bbea2d9bff3bc3fa5e54b24253d7eed8 to your computer and use it in GitHub Desktop.
LRM :: reorder registration fields
/* PUT YOUR JS HERE */
jQuery( document ).ready(function($) {
var phone_html = $(".fieldset--phone").get(0).outerHTML;
$(".lrm-signup-section .fieldset--phone").remove()
$(".lrm-signup-section .fieldset--email").before(phone_html);
});
/* PUT YOUR JS HERE */
jQuery( document ).ready(function($) {
var phone_html = $(".fieldset--phone").get(0).outerHTML;
$(".lrm-signup-section .fieldset--phone").remove()
$(".lrm-signup-section .lrm-remember-me-checkbox").parent().before(phone_html);
$(".lrm-remember-me").attr("checked", "checked");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment