Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
Hi!
Thanks for developing this great plugin!
My questions:
The modal login works fine. But how can I modify the functions around modal login?
I want to hide the secondary button in all login functions, because not every visitor is allowed to register for my site.
Where can I disable this?
Thanks for support! =)
simple delete this in userpro/templates/login.php
<?php if ($args[“{$template}_button_secondary”]) { ?>
<input type=”button” value=”<?php echo $args[“{$template}_button_secondary”]; ?>” class=”userpro-button secondary” data-template=”<?php echo $args[“{$template}_button_action”]; ?>” />
<?php } ?>
you can create a folder in your themes directory “userpro” with a subfolder “templates” an put the modified file login.php there. in this way it will not get lost in case of updates
You must be logged in to reply to this topic.