WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Jason Lemahieu (MadtownLems)
    Member
    Posted 2 years ago #

    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/

  2. Ben Huson
    Member
    Plugin Author

    Posted 2 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.

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

  3. Ben Huson
    Member
    Plugin Author

    Posted 1 year ago #

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

  4. Jason Lemahieu (MadtownLems)
    Member
    Posted 1 year ago #

    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
    Member
    Plugin Author

    Posted 1 year 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

About this Topic