1. Home
  2. Knowledge Base
  3. Customizations
  4. Javascript
  5. How to Change the Password Reset Page’s “Back to” Link to Point to the Login Page

How to Change the Password Reset Page’s “Back to” Link to Point to the Login Page

By default, the platform does not have this option. You can use the following JavaScript code to change the password reset page’s “Back to” link to point to the login page.

Please follow the steps below:

    1. Go to BuddyBoss – Theme Options.

    2. Under Custom Codes, enable JavaScript.

    3. Append the following:

// custom code for back to login page link
function custom_login_logo() {
  echo '<script>
  jQuery( document ).ready( function(){
    jQuery("#backtoblog a").attr("href", "https://phoenix-healing-circle.org/login");
    jQuery("#backtoblog a").text("Back to Login");
});       
</script>';
}
add_action('login_head', 'custom_login_logo');

    4. Click Save Changes.

Note: Any modifications are considered as custom work already. Know more about our Support Policy here: https://www.buddyboss.com/support-policy/

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Support

To speak to our Agency consultant, fill in the form found at our Contact Page.

  • Get Started

    Enter your name and email address to get started with your project...

  • This field is for validation purposes and should be left unchanged.

Not recently active