Shortcodes
Page Specific Shortcodes
During installation, Sunshine will create several pages and insert the following respective shortcodes where necessary. The shortcodes must be placed on the corresponding page assigned in Galleries > Pages & URLs.
[sunshine_galleries]
Shows Sunshine's list of galleries with links to each gallery.
[sunshine_account]
Shows Sunshine's account area for editing profile, seeing order history, addresses, and logout link.
[sunshine_cart]
Displays Sunshine's cart.
[sunshine_checkout]
Displays Sunshine's checkout process.
[sunshine_favorites]
Displays the customer's favorites.
Template Shortcodes
[sunshine_menu]
Show Sunshine's menu which includes the link to Galleries, Favorites, Cart, Checkout, Login/Logout, Account, Store.
[sunshine_search gallery="ID"]
A search box that searches Sunshine galleries. If inserted into the content/description of a single gallery, it will search only that one gallery.
"gallery" attribute is optional, should be ID of the gallery you want to keep the search restricted to.
[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.
Gallery
[sunshine_gallery id="ID" show_main_menu="true/false"]
Displays a single gallery on any page based on it's ID.
Still need help?
If you have not yet found your answer in the documentation articles, please contact support