Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Hello, So far, everything is working great! I am interested in purchasing all of your addons.
I have comments to posts set to where members only can reply. When a non-member attempts to reply, he is presented with the WordPress legacy login screen. I would prefer that they would see the nice UserPro login screen instead. At least they would have the opportunity to register.
Anyway, this is the code I I put into my child theme’s functions.php:
1 2 3 4 5 |
function my_comment_form_fields( $fields ){ $fields['must_log_in'] = do_shortcode('[userpro template=login]'); return $fields; } add_filter( 'comment_form_defaults', 'my_comment_form_fields' ); |
For some reason, it did not work. Any ideas would be appreciated?
Thanks,
Jarold
Hello ,
You can do this by making changes to the backend settings .
Go to UserPro -> Redirection & Backend settings -> Redirect backend login to front-end and select : “Redirect to front-end login”
Please try and let me know . Thanks .
You must be logged in to reply to this topic.