Changing password-protection page text

  • Unknown's avatar

    Hi! I’ve created but have yet to “publish” a password-protected page. (The page is debbiecoll.com/fairytales. It’s technically published but I haven’t put a link for it on my website.) I’d like to keep it secret so that only people subscribed to my email list know the password. How can I change the text of the page that asks for the password so that I can point people to my email list for the password?
    Thanks!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hello

    To change the text This content is password protected. To view it please enter your password below: you can try adding the below CSS code under My Site → Appearance → Customize → Additional CSS:

    .post-password-form p:first-child {
    	visibility:hidden;
    }
    
    .post-password-form p:first-child:before {
    	visibility:visible !important;
    	content:"add your text here";
    }

    Note that you can only add custom CSS on a WordPress.com site with a Premium plan or higher.

    Regards

  • The topic ‘Changing password-protection page text’ is closed to new replies.