Skip to content

Commit

Permalink
Merge pull request #1384 from roots/QWp6t-optionsGA
Browse files Browse the repository at this point in the history
Remove mention of Google Analytics from the config
  • Loading branch information
retlehs committed Apr 2, 2015
2 parents af2a6a0 + 1be28df commit 82215b3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### HEAD
* Remove mention of Google Analytics from the config ([#1384](https://github.com/roots/sage/issues/1384))

### 8.1.1: March 31st, 2015
* Remove pleeease dependency in favor of vanilla gulp-autoprefixer and gulp-minify-css ([#1402](https://github.com/roots/sage/issues/1402))
* Fix `gulp --production` race condition ([#1398](https://github.com/roots/sage/issues/1398))
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ For more installation notes, refer to the [Install gulp and Bower](#install-gulp
* [HTML5 Boilerplate](http://html5boilerplate.com/)
* The latest [jQuery](http://jquery.com/) via Google CDN, with a local fallback
* The latest [Modernizr](http://modernizr.com/) build for feature detection
* An optimized Google Analytics snippet
* ARIA roles and microformats
* Cleaner HTML output of navigation menus
* Posts use the [hNews](http://microformats.org/wiki/hnews) microformat
Expand All @@ -57,7 +56,7 @@ define('WP_ENV', 'development');

## Configuration

Edit `lib/config.php` to enable or disable theme features and to define a Google Analytics ID.
Edit `lib/config.php` to enable or disable theme features

Edit `lib/init.php` to setup navigation menus, post thumbnail sizes, post formats, and sidebars.

Expand Down
6 changes: 0 additions & 6 deletions lib/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,12 @@
add_theme_support('soil-clean-up'); // Enable clean up from Soil
add_theme_support('soil-relative-urls'); // Enable relative URLs from Soil
add_theme_support('soil-nice-search'); // Enable nice search from Soil
add_theme_support('soil-google-analytics'); // Enable H5BP's Google Analytics snippet
add_theme_support('bootstrap-gallery'); // Enable Bootstrap's thumbnails component on [gallery]
add_theme_support('jquery-cdn'); // Enable to load jQuery from the Google CDN

/**
* Configuration values
*/
if (!defined('GOOGLE_ANALYTICS_ID')) {
// Format: UA-XXXXX-Y (Note: Universal Analytics only)
define('GOOGLE_ANALYTICS_ID', '');
}

if (!defined('WP_ENV')) {
// Fallback if WP_ENV isn't defined in your WordPress config
// Used in lib/assets.php to check for 'development' or 'production'
Expand Down

0 comments on commit 82215b3

Please sign in to comment.