Skip to content

Tips, Tricks & How-Tos

  • Customize text in Sunshine

    As of writing this, there are over 3,000 strings of text throughout Sunshine and all the add-ons. Having a built-in tool for customizing every string isn't feasible. However, the great thing about WordPress is its vast plugins like Loco Translate which is a perfect solution to handle customizing strings in Sunshine, or any other plugin/theme, […]

  • Don't let clients see other galleries

    Some photographers want to setup Sunshine so their clients can only see their own gallery and not any others. There are a couple ways to do this. Gallery Type: Private You can set each gallery to Private which means only the users assigned to the gallery can view it and it will be hidden from […]

  • Selling Videos

    Sunshine is not really geared towards selling videos but there is a workaround with a small known feature of the Digital Downloads add-on.

  • Enabling error logging

    Often times we need to see what PHP errors are appearing in order to help identify an issue with Sunshine on your site. WordPress makes this pretty easy to enable. Find your wp-config.php file and add the following code: define( 'WP_DEBUG', true );define( 'WP_DEBUG_LOG', true );define( 'WP_DEBUG_DISPLAY', false ); This will enable debug mode and […]

  • Remove the Register and Login links

    Using WordPress filters, we can modify which links appear in Sunshine's Main Menu. You can either add some PHP code to your functions.php file (or use the plugin Code Snippets) to entirely remove the links or use CSS to hide the links.

  • Show captions under thumbnails and single images

    Sunshine Photo Cart takes advantage of WordPress' ability to import EXIF metadata when an image is uploaded to your client gallery. Data like keywords, caption, camera, and much more data you can see here gets imported into the database. Once in the database, you can then display this information with any image in a Sunshine […]

  • Make a product only available in a package

    Some users have wanted to make specific products only available in a Package and not available for individual purchase. Packages do require that you only use existing products. However, in Sunshine any product that does not have a price (left blank) is not available for purchase. If you set a price to "0", then it is offered […]

  • Have a password-only landing page

    Many Sunshine users password protect every single gallery. Some of you don't want your users to see other galleries. You can create a simple password field landing page where users are prompted to enter their gallery password. If they enter a valid gallery password, they are then automatically taken directly to the gallery. If you […]

  • Test purchases with PayPal

    It can be helpful to run some test purchases to make sure everything is working how you want it with your Sunshine install. PayPal has a Sandbox which is an almost exact clone of the live site where you can make test accounts and run test purchases.