Password Protected Page

[ad_1]

I created a page that was password protected and worked fine.

Now I created a custom version of that page and the password protection doesn’t work. I thought maybe since I created the page with password protection and then created a new template for that page that it got messed up, so I removed the password, updated the page then re-applied the password and still doesn’t work.

It has to be something to do with my custom page I created.

[ad_2]
1 Comment
  1. What do you mean by ‘a custom version’ of the page?

    When you password protect a page with WordPress it only protects what would have rendered by the `the_content()` method, so it won’t protect content outside of that.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer