[Membership 2 Pro] SImple Login/Logout page and link

Hi.

I'd like a simple login/logout link. Something general that Isn't HUGE on the login side or PROMPTS a warning to the guest.

Please refer to screenshot: https://www.screencast.com/t/VXXUtJ3kA
Notice how BIG and LOUD that prompt box is.
Is there more serviceable short code?
Please advise.

  • Ashik
    • Staff

    Hi David,

    Hope you're doing well.

    Something general that Isn't HUGE on the login side

    You can remove Membership 2 Pro code from the side and put a simple text with a link that will redirect to /login page.

    or PROMPTS a warning to the guest

    You can remove the warning box by placing this below code to Dashboard > Appearance > Custom CSS

    //Remove Membership 2 Pro login warning box
    .ms-alert-box.ms-alert-error{
    display: none;
    }

    One important thing to be careful about, by removing the warning box visitor won't be able to notice that the area is restricted and requires login to see the content. So, maybe it will be the best practice to change the background, red border and text color. To do so put below code instead of above

    //Change color of Membership 2 Pro warning box
    .ms-alert-box.ms-alert-error{
    border-top-color: COLOR NAME (GREEN, YELLOW ETC) OR COLOR CODE;
    color: COLOR NAME (GREEN, YELLOW ETC) OR COLOR CODE;
    background-color: COLOR NAME (GREEN, YELLOW ETC) OR COLOR CODE;
    }

    Visit here https://www.rapidtables.com/web/color/html-color-codes.html to get few colors name with code. Use hex color with (#) symbol.

    Hope this help. Feel free to reply here if you've any more questions or concerns. Have a great day.

    Regards,
    Ashik

  • Ashik
    • Staff

    Hi David,

    Thank you for replying back.

    In order to create pop-up login, you can use our Hustle plugin. Follow this below instructions step by step.

    1. Install Hustle (if the site doesn't have yet)
    2. Create a Pop-up
    3. Put Membership 2 Pro registration form code into Pop-up content area.
    4. Copy the Pop-up shortcode and paste it where you would like to show the login link (change the shortcode text "Click Here" to whatever you want). Check the screenshot.
    5. Select Pop-up trigger method as Click.

    Visit here to https://premium.wpmudev.org/project/hustle/#wpmud-hg-project-documentation to read Hustle documentation and learn more about Hustle setup.

    Feel free to reply here if you've any more questions or concerns. Have a great day.

    Regards,
    Ashik

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.