Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #194832

    I have a page I need password protected so I set that up through the WP visibility options. I have deactivated all plugins and when I switch to Twenty Thirteen theme, the password prompt stops me prior to getting to the page and when Enfold is activated, it doesn’t (with nothing else being changed).

    Any ideas?

    #194940

    I would also like to add that I have modified template-builder.php found
    $content = apply_filters('the_content', $content);

    and replaced it with

    $content = apply_filters('the_content', $content);
    
    if ( post_password_required() )
    {
    $content = get_the_password_form();
    }

    This doesn’t work? I have changed the privacy settings to password protected. I even went as far as to look at the post-template.php to ensure that

    if ( post_password_required() )

    was present. As far as I can tell this should work?

    Any help is GREATLY appreciated.

    #194954

    It seems after a reinstall of the theme (and updating the theme) we have a winner, it works!

    Thank you.

    #194970

    Hi!

    Glad you figured it out! Let us know if you have any other questions or issues

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Password Protected Page doesn't seem to work’ is closed to new replies.