Support » Everything else WordPress » How to remove password protected

  • Resolved stormkicker

    (@stormkicker)


    For many hours to find a solution on “How to remove the “password protected” text from “BELOW” the password box on password protected pages. There are countless solutions and even a plugin to change the text “ABOVE” the password box but there seems to be nothing that supports the removal of “This post is password protected. Enter the password to view any comments”. Any advice on this would be greatly appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • markhem

    (@markhem)

    Are you asking how to take off the protection from the single post, or keep the protection but remove the words on the screen? Did you accidentally protect it, or do you want it to be protected, but not say its protected?

    stormkicker

    (@stormkicker)

    I would like to keep the protection but remove the words on the screen from below the password box on a password protected page. I have already changed these words “This post is password protected. To view it please enter your password below” above the box using a plugin but can find nothing to remove these words “This post is password protected. Enter the password to view any comments” that appear on the screen below the box.

    Thanks

    stormkicker

    (@stormkicker)

    Thanks markhem I have just found a solution through the comments.php

    Thanks for the reply all the same!

    markhem

    (@markhem)

    Sorry, can’t help on that one. Good luck.

    markhem

    (@markhem)

    stormkicker – Would you consider sharing your solution? Others may have need of the info too. I, for one, am curious. Thanks.

    stormkicker

    (@stormkicker)

    Of course, I found an article at the link below. I located and edited the text from within the comments.php for my theme by clicking Editor under the Appearance tab in the Dashboard. The code will look like this….

    <div id=”comments”>
    <?php if ( post_password_required() ) : ?>
    <p class=”nopassword”><?php _e( ‘If you have any problems during login, please contact us.’, ‘sp’ ); ?></p>
    </div><!– #comments –>
    <?php

    http://mysitemyway.com/support/topic/password-protected-page-displays-unwanted-text

    Thanks and good luck!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to remove password protected’ is closed to new replies.