Introduction
The BuddyBoss platform does not provide a built-in option to hide the “Create an Account” button on the sign-in page. You can hide or remove this button by adding a small custom function to your active theme. This guide explains how to hide the “Create an Account” button on the login 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 a BuddyBoss Child Theme), then click Select.
- From the Theme Files list, open Theme Functions (functions.php).
- Add the following code just before the closing PHP tag (?>):
function my_login_css() { ?>
<style type="text/css">
.login .login-heading a {
display: none;
}
</style>
<?php }
add_action( 'login_enqueue_scripts', 'my_login_css' );
- Click Update File to save the changes.
After this, the “Create an Account” link will no longer appear on the login page.
Troubleshooting and FAQs
Q: The “Create an Account” link is still visible.
A: Make sure the code is added to your child theme’s functions.php file. Clear your browser cache or any caching plugins and refresh the login page.
Q: Will this affect other pages or functionality?
A: No. This only hides the link on the login page. The registration functionality remains active for other forms or links.