Changing login link
-
Hi,
I use a modal login form from my theme rather than wp-login.php. How can I change that in your plugin without hacking straignt into the code? Right now I changed the function usp_login_required_message() at the bottom of user-submitted-posts.php to have this line:
$message .= ' <a class="kleo-show-login" href="#">'. esc_html__('log in', 'usp') .'</a> ';
instead of:
$message .= ' <a href="'. wp_login_url() .'">'. esc_html__('log in', 'usp') .'</a> ';
Thanks,
Marc
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Changing login link’ is closed to new replies.