Support » Fixing WordPress » function to change register/login links?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yes, as you have told that you made changes in the file wp-login.php, you are loosing the changes whenever you upgrade.

    The solution is that you can create a copy of the login.php file and paste it in a different folder. Link the login and register to the new file which you have copied and pasted in different folder.

    The changes you have made are lost while you upgrade WordPress because, all the defualt login, register pages are located in the folder called admin. So, whenever you upgrade WP the folder replaces with new files with defualt settings like WordPress defualt login backgrounds, etc.

    yes i figured this, but my question is whether there is any way of overriding the default links in the login page using custom functions?

    as you say i could register a different login page, but the same applies to the login in the sidebar and, in my case, to the admin bar at the top for buddypress.

    all could be changed individually (what i did), BUT they all use the same WP call to wp_login_url();

    if i override where this goes, then all will work fine! (or that’s the theory if i knew how…)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘function to change register/login links?’ is closed to new replies.