How to change the password protect page feature to be a random number
-
I am password protecting certain pages with WordPress’ default password protect page status feature.
I have a certain number to enter certain pages. Right now it is 77777. What I need to do is change that so site visitors can enter ANY number at all.
I know this sounds weird. The reason I need to do this is because the site is for a beer distributor and he wants to just scare regular customers (non-liquor store owners) away from entering certain pages that include his prices to liquor stores. Ideally I would have it so people can enter their liquor license number but the problem is that there are always new licenses being issued so it would be hard to keep up with them.
I need some help with code. I am not very good with php or javascript at all. But I am assuming I can change a line of php in a certain php file. I believe that ‘functions.php’ controls this feature. It may be another file.
PLEASE HELP. Could someone tell me what code I have to change and what I have to change it to.
Hopefully I gave enough details. Help would be greatly appreciated.
- The topic ‘How to change the password protect page feature to be a random number’ is closed to new replies.