This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
themes:tips [2011/02/14 13:32] ccagle8 |
themes:tips [2011/02/14 13:33] ccagle8 |
||
---|---|---|---|
Line 9: | Line 9: | ||
* Add a image of your theme as ''/path/to/getsimple/your-theme/images/screenshot.png'' to enable the theme image that shows when it s activated in the administrator panel. | * Add a image of your theme as ''/path/to/getsimple/your-theme/images/screenshot.png'' to enable the theme image that shows when it s activated in the administrator panel. | ||
* 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. | ||
- | <code>if(!defined('IN_GS')){ die('you cannot load this page directly.'); }</code> | + | <code><?php if(!defined('IN_GS')){ die('you cannot load this page directly.'); } ?></code> |