Support / Documentation / / Template Overrides

Template Overrides

As of 1.2.3, Sunshine lets you override entire template files to give developers greater control over the look and feel of Sunshine.

Step 1

Unzip the Sunshine plugin zip file.

For display templates:
Find the “themes > theme” directory. These are all the template files Sunshine uses when being integrated into your custom theme by default.

For email templates:
Find the “email” directory.

Step 2

For display templates:
Copy whichever theme file you want into your WordPress theme directory in a sub folder called “sunshine”. Example: “wp-content/themes/yourcustomtheme/sunshine/gallery.php”. Sunshine checks for the existence of the file before loading it’s own default.

For email templates:
Copy whichever theme file you want into your WordPress theme directory in a sub folder called “sunshine/email”. Example: “wp-content/themes/yourcustomtheme/sunshine/email/message.php”. Sunshine checks for the existence of the file before loading it’s own default.

We may make updates to the core template files. It will be your responsibility to ensure that your custom files are also updated. When we post updated versions in our blog, we will try to include information when core template files have been updated.

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