post_password_required() not recognizing cookie set with correct password
Using the below code: <?php if ( post_password_required() ) { ?> <form method=”post” action=”/wp-pass.php”> <p>This content is password protected. To view it please enter your password below:</p> <input type=”password” style=”margin:10px 0;” size=”20″ id=”pwbox-<?php the_ID(); ?>” name=”post_password”/></label><br/> <input type=”submit” value=”Submit” name=”Submit”/></p> </form> <?php } else { ?> // echo out all of the post content <?php … Read more