I’d like to be able to have a workflow that works like so:
- Create a post and assign it a password
- Have a single-field form on the home page
- User enters password on home page, and is sent to the corresponding post
Does anyone know if this is possible?
Yes, but you’ll need to hold the details of how a password maps to a post.
So:
- store mappings somewhere, easiest as a hash/key-value pair (password->post_id)
- get password from field
- determine post_id, and construct the URL
- use wp_redirect() to redirect the user.