Support / Documentation / / Using the Gallery Password Box in your custom theme

Using the Gallery Password Box in your custom theme

The Gallery Password Box lets you put a simple form for users to enter a gallery password and be automatically taken to the gallery and allowed access if a valid password is given.

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

 

Go Pro

Get every single Sunshine add-on and access to premium support for only $99

Oh, and we offer a 30 day money back guarantee to sweeten the deal... because we don't think you will need it anyway.

Learn more