1. Home
  2. Knowledge Base
  3. Customizations
  4. PHP Functions
  5. How to Remove the Sign-In Button on the Login Page

How to Remove the Sign-In Button on the Login Page

Introduction

BuddyBoss does not provide an option to remove or hide the sign-in button on the login page. You can hide it by adding a small custom function to your active theme. This guide explains how you can remove the sign-in button on the login page.

Custom Workaround

Before proceeding, make sure you have a complete site backup.

  1. In your WordPress admin dashboard, go to Appearance > Theme Editor.
  2. Under Select theme to edit, choose your active theme (preferably BuddyBoss Child Theme), then click Select.
  3. From the Theme Files list, click Theme Functions (functions.php).
  4. Paste the following code just before the closing PHP tag (?>):

function bb_login_custom_css() { ?>

    <style>

        body.login .login-heading h1 {

            display: none !important;

        }

    </style>

<?php }

add_action( ‘login_enqueue_scripts’, ‘bb_login_custom_css’ );

  1. Click Update File to save your changes.

Note: Modifications are typically considered custom work, but we are making an exception in this case. Please review the BuddyBoss Support Policy.

Troubleshooting and FAQs

Q: The sign-in button is still visible, what should I check?
A: Make sure the code is added to the active theme’s functions.php and clear any caches.

Q: Will this affect the login functionality?
A: No, this only hides the visual element and does not affect login processing.

Q: Can I hide other elements on the login page?
A: Yes, you can target other login page elements using custom CSS in the same function.

Q: Can I revert this change easily?
A: Yes, remove the code from functions.php and save.

Q: Who can I contact for further assistance?
A: Please review the BuddyBoss Support Policy or consult a developer.

Was this article helpful?

Related Articles

Subscribe to Our Newsletter

Stay In Touch

Subscribe to our Newsletter, and we’ll send you the latest news from BuddyBoss

  • This field is hidden when viewing the form
  • This field is for validation purposes and should be left unchanged.

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.