/*Reverse sticky header*/
  1. Home
  2. Knowledge Base
  3. Customizations
  4. Javascript
  5. Opening New Tab When Clicked the Link

Opening New Tab When Clicked the Link

Some customers created links to their registration page and wanted when the link clicked it will open a new tab.

By default, the platform does not have this option. You can use the following JavaScript code to open new tab. 

Please follow the steps below:

1. Go to BuddyBoss > Theme Options.

2. Under Custom Codes, enable JavaScript.

3. Append the following:

jQuery(document).ready(function(){ jQuery('.registration .description a').attr( 'target','_blank' ) });

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?
Contact Support

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

"*" indicates required fields

Get Started

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

Name*