BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › disable register button
Tagged: i
- This topic has 21 replies, 3 contibutors, and was last updated 8 years, 8 months ago by Anonymous.
Question
March 21, 2016 at 1:51 pm #64366@
AnonymousHi @kostasf
inside
/boss-child/template-parts/left-panel.phpfrom line 32 to 40
replace following lines
<?php if ( !is_user_logged_in() && buddyboss_is_bp_active() && !bp_hide_loggedout_adminbar( false ) ) : ?> <?php if ( buddyboss_is_bp_active() && bp_get_signup_allowed() ) : ?> <a href="<?php echo bp_get_signup_page(); ?>" class="register-link screen-reader-shortcut"><?php _e( 'Register', 'boss' ); ?></a> <?php endif; ?> <a href="<?php echo wp_login_url(); ?>" class="login-link screen-reader-shortcut"><?php _e( 'Login', 'boss' ); ?></a> <?php endif; ?>
with
<?php if ( !is_user_logged_in() && buddyboss_is_bp_active() && !bp_hide_loggedout_adminbar( false ) ) : ?> <a href="<?php echo wp_login_url(); ?>" class="login-link screen-reader-shortcut"><?php _e( 'LOGIN WITH FB', 'boss' ); ?></a> <?php endif; ?>
You can delete /boss-child/left-panel.php using ftp
Regards
Varun DubeyAnswers
March 21, 2016 at 2:00 pm #64370@kostasfThanks @vapvarun I did it but it doesn’t change the site when I refresh it! I uploaded left-panel.php having found it in the folder of the theme I downloaded when I bought boss and I created the folder template-parts! Is anything wrong with that? Maybe because I have uploaded left-panel.php 2 times I have to erase one?
March 22, 2016 at 1:24 am #64466@
Anonymoushi @kostasf,
I will be better you send you login details from our contact page, i will add those edits quickly
This thread took long time.Regards
Varun DubeyMarch 22, 2016 at 10:13 am #64616@kostasf@vapvarun I just sent the details through the contact page so you can make the edits!!
March 22, 2016 at 1:03 pm #64653@
AnonymousHi @kostasf
I have added edits at your site.
Regards
Varun DubeyMarch 22, 2016 at 2:52 pm #64676@kostasf@vapvarun Thank you very much!! I admire your programming knowledge and I would like to have it also and I will try to acquire them!
Can you explain me very quickly what was the problem? 🙂 I mean I had copied the code!March 22, 2016 at 11:42 pm #64708@
AnonymousHi @kostasf, One more file edit was required
I have added it to same template-parts folder and made edits inside it.
I will close this topic, feel free to create new topic for any further queries.
Regards
Varun Dubey
- The question ‘disable register button’ is closed to new replies.