Solution for Image download after login

Hi There,
We have the following challenge:

For a client in the event business we want to have a login-page, where the attendees of an event can type in a "password". Depending on the "password" they are redirected to a private page with a gallery and a download link of the images taken on the event.

Ideally the "login" is not user name and password, but a password only to keep it as simple as possible. Much like the password function of WP itself. The challenge is to redirect after the "login" to a "private" page.

Hope it is clear.

Any ideas?

Thanks, T.

  • Predrag Dubajic

    Hey T,

    Hope you're doing well today :slight_smile:

    Actually I'm not sure if this is possible and don't know any plugins that would do this out of the box for you.
    Main concern here is the password only field, since those types of protections usually hide only the page you're currently on.

    Something does pops in mind in case you want to give it a try.

    If you our Membership 2 plugin you can create one account that will have access to your gallery page, let's call it Default.
    Now have login page with M2 login form shortcode and then create jQuery script to populate the username field with Default and then use CSS to hide the field so it's not visible.

    This way users can access using only password but they will all be using same username so that might be troubling as they will have ability to change password for the account.

    Best regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.