How to apply custom code for Sunshine Photo Cart
One of the great things about WordPress is it's ability to be customized. It's one reason Sunshine Photo Cart was built as a WordPress plugin because it gives you, the photographer, more control over exactly how you want your client galleries to perform. Sunshine has many features and customization options out of the box, but sometimes you need to go a little further and implement some custom code.
Adding custom CSS code
CSS stands for Cascading Style Sheets and is what defines the layout, colors, sizes of elements on the page. Sunshine makes it easy to add custom CSS rules that only apply on Sunshine related pages by going to Sunshine > Settings > Design and entering the code into the Custom CSS box.
Adding custom PHP code
With any code samples provided within these documentation or in via support, it is recommended to use the Code Snippets plugin to quickly and easily implement any custom code for your site without any technical knowledge.
How to add your custom PHP code snippet
- Install and activate the Code Snippets plugin
- Go to Snippets > Add New
- Enter any title you wish
- Copy/paste the code into the Functions (PHP) tab
- Click "Save changes and Activate"
Still need help?
If you have not yet found your answer in the documentation articles, please contact support