Password form not showing on protected page template, content just disappears
-
I’m trying to password protect a page with a custom template. I used the
<?php if ( !post_password_required() ) { ##the password-tested content## } ?>
around the content I want protected, as suggested in other posts.
The title is switched to “Protected: #title”, but my content only disappears and no password input form shows up. Any ideas how to get this to work? I feel like it’s almost there, but I’m not sure how to get it 100% working. Thanks in advance for any ideas!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Password form not showing on protected page template, content just disappears’ is closed to new replies.