Shortcodes

[sunshine]

By default, Sunshine is automatically displayed on the selected page in Sunshine > Settings > Pages (Sunshine page). However, for use in various page builders or in some more unique themes, Sunshine does allow the use of this shortcode. If this shortcode is used, you must also go to Sunshine > Settings > Pages and check the option telling Sunshine you are using the shortcode so it will not automatically display. You also need to include the shortcode on every Sunshine-related page (Cart, Checkout, Account, etc).

[sunshine-gallery-password]

This shortcode will prompt users for a password. If they enter the password to an active gallery, they will be automatically redirected to the gallery and allowed access. A great way to use password protected galleries without showing the list of all your galleries.

[sunshine-menu]

Show Sunshine’s menu which includes the link to Galleries, Favorites, Cart, Checkout, Login/Logout, Account.

[sunshine-search]

A search box that searches Sunshine galleries. If placed in a specific gallery, it will search only that one gallery.