Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @smueller1996,

    We only use this file login-template.php to display the login form so adding that code there will be of no use.
    The change should be made in WordPress/wp-login.php > https://github.com/WordPress/WordPress/blob/master/wp-login.php
    But we do not recommend this.

    All the best,
    Mihaela

    Thread Starter smueller1996

    (@smueller1996)

    Thanks,
    I made this change and it works, why you do not recommend this?

    Happy to hear it worked!

    We do not recommend editing and changing WordPress’ files because when it gets updated, it will overwrite the code you added and delete it. Also, modifying the WordPress’ files can have unintended consequences.
    Hope this makes sense!

    All the best,
    Mihaela

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add Custom Buttons’ is closed to new replies.