Merge pull request #792 from ssteinerx/patch-1
Corrected reference to 'utils.php', actual code is in 'wrapper.php', add...
This commit is contained in:
@@ -3,9 +3,9 @@ table of contents](TOC.md)
|
||||
|
||||
# Theme wrapper
|
||||
|
||||
The theme wrapper functionality is found in `lib/utils.php`. This code comes directly from [scribu's theme wrapper](http://scribu.net/wordpress/theme-wrappers.html) post.
|
||||
The theme wrapper functionality is found in `lib/wrapper.php`. This code comes directly from [scribu's theme wrapper](http://scribu.net/wordpress/theme-wrappers.html) post.
|
||||
|
||||
`base.php` is used to serve all of the templates for your site. In the theme root, the following files are only used to include files in the `templates/` directory, which contains all of the [theme templates](templates.md):
|
||||
`base.php` in the roots theme top level directory is used to serve all of the templates for your site. In the theme root, the following files are only used to include files in the `templates/` directory, which contains all of the [theme templates](templates.md):
|
||||
|
||||
1. `index.php` (archive page templates) includes `templates/content.php`
|
||||
2. `page.php` includes `templates/content-page.php`
|
||||
|
||||
Reference in New Issue
Block a user