• On my WP site, I have a password protected page, which will be used for high resolution press photos:

    http://helensjoholm.nu/pressbilder/

    I´ve modified funktions.php a Little bit, so I could add a few Words about where to require the password. But is there any possibility to delete the sentence “This post is password protected. Enter the password to view comments” and the Word “Lösenord” (Password) beside the header?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You could hide the message with some css, like this:

    .nocomments {
        display: none;
    }

    Alternatively.. probably your better option.. is exemplified on the WordPress Codex Page for Password Protection.

    This will allow you to modify the complete form to your liking.

    Thread Starter Drossy

    (@drossy)

    Thank you very much, I´m so grateful for your quick reply! It was exactly that code; under “Customize the protected text” which I pasted in functions.php yesterday. But I can not edit anything more than the sentence “To view this protected entry, enter the password below:”. In what way do you mean that I could edit the two sentences I mentioned above, when I don´t see them anywhere?

    If I instead would solve the problem via css, as you suggest, in which file on my WP site, should I paste the code?

    Thread Starter Drossy

    (@drossy)

    I got it right now, and deleted the words above. The only thing I don´t get rid of is the word “Password protected” in big letters beside the header.

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