1. Home
  2. Knowledge Base
  3. Customizations
  4. Javascript
  5. How to Remove the “No Forum” Option from the Dropdown List of Forums in the Discussion Editor

How to Remove the “No Forum” Option from the Dropdown List of Forums in the Discussion Editor

By default, the platform does not have this option. However, we can remove it by using JavaScript.

Please follow the steps below:

    1. Go to BuddyBoss – Theme Options.

    2. Under Custom Codes, enable JavaScript.

    3. Append the following:



$(document).ready(function() { $("#bbp_forum_id").find("option").eq(0).remove(); });

    4. Click Save Changes.

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

Screenshots

Without Code:

With Code:

Was this article helpful?

Related Articles

Contents

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