Skip to content

Using the Gallery Password Box in your custom theme

This article may be outdated and referencing Sunshine Photo Cart 2. Documentation articles are currently being updated and hope to be fully accurate very soon. Apologies for any confusion.

Traditionally with WordPress, you have to visit a page/post (or in our case a gallery) and then see the password prompt. We created the Gallery Password Box widget to let you put a simple form either inside your own WordPress theme (also can be used inside a Sunshine theme).

Users simply need to enter a password to any gallery and, if valid, will be taken directly to the gallery and through the password requirement to see the photos.

Step 1

In your WordPress administration area, go to Appearance > Widgets

Step 2

Put the "Sunshine Gallery Widget" into one of your theme's widgetized areas.

That's it!

Note: Your theme's widget areas will likely be different than the one in the screenshot


Still need help?

If you have not yet found your answer in the documentation articles, please contact support