WordPress.org

Ready to get started?Download WordPress

Forums

How can I insert a completely custom registration form in place of the stock one (3 posts)

  1. ionblue
    Member
    Posted 9 months ago #

    So I'm working on this site that in the past I had hacked into the core login page which is very bad. I've since created functions to do most of the customizations I had done. One thing remains and that is for the registration form.

    On the form I'm also having to submit some data out to another entity and this is handled with custom JS so it can submit twice. Along with that, the form needs several other fields, some hidden, and other code to make it all work.

    What I've done in the past is to go into the wp-login.php file and replace the registration from with something to pull in my custom form from an external file. So everything above and below the form in the code is there, then I inject the custom form code in between. Make sense?

    What I'd like to do is to NOT mess with the core file any more and to just inject my form code in it's place. I can't find anything anywhere that tells me how to do this. All I've found is how to add to the current form, but that isn't going to work with the added things I've mentioned and custom on_click code.

    Anybody have any ideas on how I can do this from my functions.php file?

    Thanks.

  2. esmi
    Forum Moderator
    Posted 9 months ago #

    Have you tried looking for a suitable plugin? There are quite a few login plugins that offer varying levels of customisation.

  3. ionblue
    Member
    Posted 9 months ago #

    I have looked and didn't find anything that would allow what I need. I already have the a working form, I just need to know a way to completely override the stock one with it.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.