• Hi, this plugin is just wat I needed, thank you! The only thing that’s missing is a way to put a text above the password field (aka text field or welcome message).

    I want my visitors to answer a question (that’s the password they need to fill in) and then get access to my website. Can you explain to me what code I need for this and where to put it?

    Thank you so much! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter channaaah

    (@channaaah)

    I found this on here: password_protected_before_login_form action;

    Can someone explain to me how to work with this? Where do I put this and make in into a text field?

    This is my code to add a message above the password field.
    function sen_password_protected_login_messages() {
    echo ‘<p style=”font-size: 18px; text-align: center;”>Welcome to the ABC Website. <br>Please enter your password.</p>’;
    }
    add_action( ‘password_protected_login_messages’, ‘sen_password_protected_login_messages’ );

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Text above password field, please help!’ is closed to new replies.