This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
themes:tips [2014/02/04 22:30] Timbow [Theme Development Tips] |
themes:tips [2016/07/01 16:20] (current) Timbow [Theme Development Tips] spelling |
||
---|---|---|---|
Line 8: | Line 8: | ||
* If you want to see all PHP errors written to a log, check out ''/path/to/getsimple/data/other/logs/errorlog.txt'' - It is automatically generated by the system regardless of the GSDEBUG setting. | * If you want to see all PHP errors written to a log, check out ''/path/to/getsimple/data/other/logs/errorlog.txt'' - It is automatically generated by the system regardless of the GSDEBUG setting. | ||
* Add the file ''/path/to/getsimple/theme/your-theme/functions.php'' into your theme to add custom functions that can be used within your theme. | * Add the file ''/path/to/getsimple/theme/your-theme/functions.php'' into your theme to add custom functions that can be used within your theme. | ||
- | * Add a image of your theme as ''/path/to/getsimple/theme/your-theme/images/screenshot.png'' to enable the theme image that shows when it s activated in the administrator panel. | + | * Add an image of your theme as ''/path/to/getsimple/theme/your-theme/images/screenshot.png'' to enable the theme image that shows when it s activated in the administrator panel. |
* Be sure to name it that exact name or else our system will not pick it up. Lowercase AND in the folder ''/images/'' AND named ''screenshot.png'' | * Be sure to name it that exact name or else our system will not pick it up. Lowercase AND in the folder ''/images/'' AND named ''screenshot.png'' | ||
* Add the code below to the top of any PHP file within your theme. This will stop any unwanted direct access to that particular file. | * Add the code below to the top of any PHP file within your theme. This will stop any unwanted direct access to that particular file. |