[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]
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.