From 0408cf62abac732048237e880fbf9fc0624295e2 Mon Sep 17 00:00:00 2001 From: Steve Steiner Date: Fri, 28 Jun 2013 10:10:00 -0400 Subject: [PATCH] Corrected reference to 'utils.php', actual code is in 'wrapper.php', added location info for 'base.php' --- doc/wrapper.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/wrapper.md b/doc/wrapper.md index b913923..7a8beaa 100644 --- a/doc/wrapper.md +++ b/doc/wrapper.md @@ -3,12 +3,12 @@ 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` 3. `single.php` includes `templates/content-single.php` -The [Template Hierarchy](http://codex.wordpress.org/Template_Hierarchy) is traversed as normal before the wrapper is loaded. \ No newline at end of file +The [Template Hierarchy](http://codex.wordpress.org/Template_Hierarchy) is traversed as normal before the wrapper is loaded.