-
Hello Friends.
If you want to disable the registration on your site and hide the registration/login button, you can do the following:
First go to your WP-Adminpanel > Settings > General and disable the checkbox for membership. Save it!
Now login in to your FTP and go to: wp-content/themes/blackfyre/ or wp-content/themes/YOUR_BLACKFYRE_CHILD_THEME/
open the header.php with your favorite editor (i use Notepad++).
find the following line
<?php if (of_get_option('login_menu')){ ?>
and paste above
<?php if ( get_option( 'users_can_register' ) ) { ?>
find now on line 208
<?php } ?>
and paste below
<?php } ?>
Now save and overwrite it!
If you want to enable the registration again, you just move to your WP-Adminpanel > Settings > General and enable the checkbox for membership. The buttons will show on your site if the registration enabled and hide if not.I hope this function will be included in future updates, but actually its a good way.
Cheers 😉
-
Please use the search before making a post. Your question maybe be already answered!
-
Do you need customization work? Are you having trouble installing Wordpress? Feeling lazy and want somebody else to do the hard work for you?
Join our discord!
Need hosting?
Follow us!