diff --git a/CHANGELOG.md b/CHANGELOG.md index 6509ffd..5927912 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,6 @@ ### 6.0.0: September 16th, 2012 +* Move custom entry_meta code into template +* Move Google Analytics code into footer template * Simplify nav walker and support 3rd level dropdowns * Update to Bootstrap 2.1.1, jQuery 1.8.1, Modernizr 2.6.2 * Add bundled docs diff --git a/doc/lib.md b/doc/lib.md index 63caad9..6760b08 100644 --- a/doc/lib.md +++ b/doc/lib.md @@ -3,14 +3,6 @@ table of contents](README.md) # Theme library -### actions.php - -This file is used to hook into [WordPress actions](http://codex.wordpress.org/Plugin_API/Action_Reference). - -The `roots_feed_link()` function is used to hook into `wp_head()` to return a feed link if your site has any posts. - -The `roots_google_analytics()` function is used to hook into `wp_footer()` to return the [asynchronous Google Analytics snippet](http://mathiasbynens.be/notes/async-analytics-snippet) from HTML5 Boilerplate if an ID is defined in `config.php`. - ### activation.php This file handles the theme activation. [About the theme activation](activation.md). @@ -106,13 +98,6 @@ Learn about `plugins.js` and `main.js` in the HTML5 Boilerplate [JavaScript docs It's safe to move jQuery to the footer if you're able to avoid problems with certain plugins that improperly use jQuery. Copy the necessary lines from `head.php` to `footer.php` right before `wp_footer()`, then update the `wp_register_script()` calls `scripts.php` to have scripts in the footer by setting the last argument to `true`. -### template-tags.php - -This file contains custom template tags. - -`roots_entry_meta()` is used by the [theme templates](templates.md) to return the author byline and post time and date information. - - ### utils.php This file contains utility functions used by other files in the theme. @@ -126,4 +111,4 @@ This file registers the custom sidebars and custom widgets. There are two initia 1. Primary Sidebar (used by `templates/sidebar.php`, included from `base.php` within `#sidebar`) 2. Footer (used by `templates/footer.php`) -The included vCard widget can be used to build additional, custom widgets. \ No newline at end of file +The included vCard widget can be used to build additional, custom widgets. diff --git a/doc/templates.md b/doc/templates.md index a387ccb..2289459 100644 --- a/doc/templates.md +++ b/doc/templates.md @@ -19,10 +19,16 @@ The `content-page.php` template is included by page templates in the theme root. The `content-single.php` template is included by single post templates in the theme root. +### entry-meta.php + +`entry-meta.php` displays the author byline, post time, and date information. + ### footer.php `footer.php` includes the Footer sidebar area and displays the site copyright information. +Also included is the [asynchronous Google Analytics snippet](http://mathiasbynens.be/notes/async-analytics-snippet) from HTML5 Boilerplate if an ID is defined in `config.php`. + ### head.php `head.php` includes everything in the ``. @@ -45,4 +51,4 @@ The `content-single.php` template is included by single post templates in the th ### sidebar.php -`sidebar.php` includes the Primary Sidebar. \ No newline at end of file +`sidebar.php` includes the Primary Sidebar.