Viewing 1 replies (of 1 total)
  • Plugin Contributor Neelkanth Kaushik

    (@myselfneelkanth)

    Hi italus,

    Thanks for your kind words.

    Yes, you can hide the “Logged in as <USER> Log out” message from your page. Just remove the below mentioned lines of code from the plugin’s files:

    1. For the Login page

    Plugin File: wp-custom-register-login/public/partials/wpcrl-login-form.php

    Remove the below code on line 65: (The line number may differ if you have edited the file before)

    echo 'Logged in as <strong>' . ucfirst($current_user->user_login) . '</strong>. <a href="' . wp_logout_url(get_permalink($logout_redirect)) . '">Log out ? </a>';

    2. For the Registration page

    Plugin File: wp-custom-register-login/public/partials/wpcrl-register-form.php

    Remove the below code on line 91: (The line number may differ if you have edited the file before)

    echo 'Logged in as <strong>' . ucfirst($current_user->user_login) . '</strong>. <a href="' . wp_logout_url(get_permalink($logout_redirect)) . '">Log out ? </a>';

    After editing both the files refresh your page.

    If you want some other text to display there then you just have to replace the above two lines with your text.
    For example: echo "your message";

    I hope this will resolve your issue.

    We will try to provide this feature in the coming releases also. So keep an eye on the future updates 🙂

    Thanks and regards.
    WP Custom Register Login Team

Viewing 1 replies (of 1 total)

The topic ‘hide Logged’ is closed to new replies.