Password Protected
[resolved] Feature Request: Easily add Text (5 posts)

  1. Great plugin!

    I see the ability to easily use a different login logo, but was wondering if it might also be possible to make a small change to your plugin that allows one to enter some text/html on this page as well?

    Ideal solution: On the privacy page, include a WYSIWYG box where one can enter a message and links that appear on the login form.

    Another idea: Add a do_action('password-protected-login-before') and/or do_action('password-protected-login-after') to the login page template, and let users add text via plugin or theme code.

    What do you think?


  2. Ben Huson
    Plugin Author

    Posted 3 years ago #

    I want to keep the admin really clean and simple for the majority of user but thing that adding hooks is a great idea - I already had that on my todo list for the next version but have now added it an an issue.


  3. Ben Huson
    Plugin Author

    Posted 3 years ago #

    I've added 'password_protected_before_login_form' and 'password_protected_after_login_form' actions which will be in the next release.

  4. FYI - I originally accomplished what I was looking for with:

    add_filter('password_protected_login_message', 'foobarcat');

    and just appending a div to that.

    Thanks for being a responsive plugin developer :)

  5. Ben Huson
    Plugin Author

    Posted 3 years ago #

    No problem. At least if you want to add something below the form you'll be able to do that now too ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Password Protected
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic