Line | |
---|
1 | ## error/
|
---|
2 |
|
---|
3 | This directory holds templates for error conditions. WordPress supports the 404 error out of the box, but you may want to create additional error templates for other conditions (not authorized, etc.).
|
---|
4 |
|
---|
5 | You can load an error template by using the following code:
|
---|
6 |
|
---|
7 | cfct_error('not-authorized.php');
|
---|
8 |
|
---|
9 |
|
---|
10 | ### Example File Descriptions
|
---|
11 |
|
---|
12 | - *404.php* - used for "File not Found" errors.
|
---|
13 | - *exit.php* - used to display a message when exiting on some error condition.
|
---|
14 |
|
---|
15 | This directory is not used by the Carrington engine (template naming conventions are not supported), it is provided solely for convenience and for better organization of these files.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.