• Resolved Diiamo

    (@luislu)


    Hi,
    I am using the free version, how to keep the password always visible without pressing Reveal Button during entering?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @luislu,

    Thanks for reaching out to us.

    In order for passwords to always display, simply add the following code snippet to your (child) theme’s functions.php file.

    add_filter( 'ppwp_customize_password_form', function( $content ) {
      return str_replace( 'type="password"', 'type="text"', $content );
    });

    Please note that the above code is applicable to single-password forms only.

    In case of sitewide password forms, you’ll need our PPWP Pro version.

    Please try it out and let us know if it works for you.

    You might also want to drop us an email at hello(at)preventdirectaccess.com so that our team can support you faster on any questions or concerns you might have. 🙂

    Thread Starter Diiamo

    (@luislu)

    Hi,
    Already add the snippet, but it doesn’t work. I am using partial protection with the code: [ppwp passwords=”165289″ description=”Content is hidden↓”] on CPT post content.

    Hi @luislu,

    Thanks for letting us know.

    Just to clarify, the provided code snippets are applicable to Single and Sitewide password forms only.

    We haven’t supported the function for Partial Content Protection password forms yet, unfortunately.

    Anyway, we’ve already made a new feature request to our team.

    Can you please drop us an email at hello(at)preventdirectaccess.com so that we can update you faster & easier?

    Thread Starter Diiamo

    (@luislu)

    Hi,
    Thank you very much, awaiting the new features. I will email you if any needs in the future, tanks again.

    Thread Starter Diiamo

    (@luislu)

    Hi,
    The 1.8.5 version [Improvement] Provide a code snippet to show PCP passwords by default. Which code snippet should I use to PCP passwords by default for partial protection?

    Hi @luislu,

    Thanks for following up.

    We’re about to update you on our PPWP Lite’s new version. 🙂

    Please add the following code snippet to your (child) theme’s functions.php file to show PCP passwords by default.

    add_filter( 'ppw_pcp_password_form', function ( $form ) {
    return str_replace( 'type="password"', 'type="text"', $form );
    } );

    Let us know if it works for you.

    Thread Starter Diiamo

    (@luislu)

    It works well! Thank you very much

    Glad to hear that, @luislu.

    Should you need any further assistance, feel free to let us know.

    We’re always more than happy to help.

    By the way, if you’re happy with our plugin features and support so far, do you mind leaving us a review on WordPress, please?
    https://wordpress.org/support/plugin/password-protect-page/reviews

    It takes only 1 minute but means a lot to us and will encourage us to work harder & support you even better in the future.

    Many thanks in advance for your kind words. 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘keep password visible during entering’ is closed to new replies.