Customization
When images are uploaded to WordPress/Sunshine, most of the EXIF data is saved to the database. By default, Sunshine does not use this for anything except for searching but it is also available to use for display with custom code. Here is an example of showing all available meta data for a single image: View […]
This code snippet will show random other images from the same gallery when viewing a single image. Please note this will not work with Lightbox. View the code on Gist.
View the code on Gist.
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. View the code on Gist.
By default, WordPress shows it’s own logo on the login page. With Sunshine, you can easily change that to your own logo.
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 a Sunshine theme (or anywhere in your custom WordPress theme) Users simply need to enter a password to […]
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.
As of 1.2.3, Sunshine lets you override entire template files to give developers greater control over the look and feel of Sunshine.