Hello,
1) Can you send me the code that would solve this? As you said in themeforest.
2) Also where can I change what will show in the register page? There are few fields that are necessary to fill in so I want to remove them.
Thank you.
Please add the given code in your wplms-customizer.php file in wplms customizer plugin at the bottom before " ?>"
add_action ('wp_footer','wplms_hide_register');
function wplms_hide_register(){
if(!is_user_logged_in()){
echo '<style>.registerhide{
display:none;
}</style>';
}
}
Then please use the button shortcode and add this class in the classes section : registerhide
2. You can remove them from wp-admin -> users -> profile fields .
That code disappears for non loged in users...
I want it to disappear once anonymous person becomes an loged in user..
Please test it if you want.
website: www.kurzon.cz
your login: Author
Password: Author4321
in this page is I am testing the buttons: http://www.kurzon.cz/stat-se-studentem/
the buttons will be showing there once you log in.
Hi fixed the issue at your site please check and confirm .
Hello, may I ask how? Just to know how to fix it next time if it happens again. Thank you very much for this.
There was a small mistake in code modified the above code to :
add_action ('wp_footer','wplms_hide_register');
function wplms_hide_register(){
if(is_user_logged_in()){
echo '<style>.registerhide{
display:none;
}</style>';
}
}