Viewing 5 replies - 1 through 5 (of 5 total)
  • There is a hook called ‘password_protected_before_login_form’ which you can use to insert content above the form. Add something like the following to your theme’s functions.php file.

    function my_password_protected_before_login_form() {
       echo '<p>My content here</p>';
    }
    add_action( 'password_protected_before_login_form', 'my_ password_protected_before_login_form' );

    Hi, I’m trying to add text below my login in the same way but having difficulty implementing this. Added the lines you suggested above to the functions.php file but nothing changed. I’m not so much of a tech head, so any further explanation would be greatly appreciated.

    Many Thanks

    Aaron

    i have tried to add this to my functionsphp file and it errors with
    CALL TO UNDEFINED FUNCTION add_action() in function file

    i looked in the PP plugin editor and did not see this add action in it, should it be there?

    dave

    Are you adding it to the functions.php file in your theme in the wp-content folder?
    See this post…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘add a link to the password page’ is closed to new replies.