This topic has 5 replies, 3 voices, and was last updated 7 years, 5 months ago ago by Eva Kemp
Hello
I had Woopress top bar REGISTER button, but now it is lost. I maybe wanted to close it at first (dunno how I might do it), but now I don’t see the possibility where to open this function again.
I located this code in /htdocs/wp-content/themes/woopress/framework/theme-functions.php:
<?php if(!empty($reg_id)): ?>
<li class="register-link">
<a>"><?php _e( 'Register', ETHEME_DOMAIN ); ?></a>
<?php if($popups) : ?>
<div class="register-popup">
<div class="popup-title">
<span><?php _e( 'Register Form', ETHEME_DOMAIN ); ?></span>
</div>
<?php et_register_form(); ?>
</div>
<?php endif; ?>
</li>
<?php endif; ?>
If i remove the<?php if(!empty($reg_id)): ?>
statement, the Register button appears. But adding a new account won’t work! Please help.
Okay, the registration actually works this way, but what is that IF function. Can I just remove it and leave it removed?
Hello,
If you edited parent theme-functions.php file, we recommend you to reupload it from the original theme package. In future please make all changes in the child theme https://codex.wordpress.org/Child_Themes not to lose modifications after theme update.
Best regards,
Jack Richardson.
I already tried this. Default theme-functions.php file is the one which hides the “REGISTER” button.
If i remove the if statement <?php if(!empty($reg_id)): ?>, then the button appears. Is it OK to remove this? What does it do?
Hello,
It means that you have to enable the option “Anyone can register” in Settings > General > Membership. Please do this and check Register button after that.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up