Introduction
By default, the WordPress password reset page displays a “Back to (Site Name)” link. BuddyBoss does not currently provide a built-in option to change this text to “Back to Login”.
This guide explains how you can change “Back to (Site Name)” on the password reset page.
Custom Workaround
Before proceeding, make sure you have a complete site backup.
- Go to Appearance > Theme Editor in your WordPress admin dashboard.
- Under Select theme to edit, choose your active theme (preferably BuddyBoss Child Theme), then click Select.
- From the Theme Files list, click Theme Functions (functions.php).
- Paste the following code just before the closing PHP tag (?>):
function my_password_reset_footer() { ?>
<p class=”login”>
<a href=”<?php echo wp_login_url(); ?>”>
<?php _e(‘Back to Log in’, ‘textdomain’); ?>
</a>
</p>
<?php }
add_action(‘password_reset_footer’, ‘my_password_reset_footer’);
- Click Update File to save your changes.
Troubleshooting and FAQs
Q: The link still says “Back to (Site Name)”.
A: Make sure the code was added to the active theme’s functions.php file and that there are no syntax errors. Using a child theme is strongly recommended.
Q: Can I change the text to something else, like “Return to Login Page”?
A: Yes. Replace Back to Log in in the code with your preferred text.
Q: Will this affect other login-related pages?
A: No. This change only affects the password reset page footer.
Q: Is this safe to use with future BuddyBoss updates?
A: If added to a child theme, it will remain intact. Changes added to a parent theme may be overwritten during updates.
Q: Is this covered by BuddyBoss support?
A: No. This modification is considered custom work. Please review the BuddyBoss Support Policy for more details.