Tagged Questions
0
votes
1answer
88 views
Storing password (functions.php)
I have created password form where visitors can access any password protected post with belonging password. Basically you enter unique password and you are redirected to a post which is protected with ...
0
votes
1answer
51 views
Password form redirection to belonging post
My idea is that the visitor enters the password on a page and than the wordpress post with belonging password load if there is one.
Here is the code:
Form on page:
<form method="post" ...
2
votes
2answers
724 views
Get password when user registers and save it sha1 into database
im working on a website where the users can connect with iphone to some functions of it by using a sha1 encrypted password. In other words the plain password of wordpress encrypted in sha1.
In the ...
1
vote
2answers
130 views
Is there a theme function for is_password_protected()?
I'm looking at the function and template references and I'm not seeing a way to test for whether a post is protected. Is there a theme function for (something like) is_password_protected()?
I'm ...
1
vote
1answer
332 views
Login using the password from protected pages
Does anyone know the logic on how to do the following:
I have a login section with a password field only on the index, so the user enter the password and submit. Upon submission, I was hoping if the ...
2
votes
1answer
635 views
Is it possible to use a forgot password url filter?
i recently found that a login url filter is available but i can't find a solution for the forgot password as well,
for the login url i use this:
function custom_login_url($login_url) {
return ...
2
votes
3answers
1k views
Forcing all posts associated with a custom post type to be private
Does anyone know of a way to add code to the functions.php file which will automatically force all posts belonging to a custom post type to be "private" and/or "password protected" with a default ...