Support » Plugin: Password Protected » [Plugin: Password Protected] Feature Request: Easily add Text

  • 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?

    http://wordpress.org/extend/plugins/password-protected/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ben Huson

    (@husobj)

    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.

    https://github.com/benhuson/password-protected/issues/8

    Plugin Author Ben Huson

    (@husobj)

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

    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 🙂

    Plugin Author Ben Huson

    (@husobj)

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Password Protected] Feature Request: Easily add Text’ is closed to new replies.