Scott Walkinshaw
4467d41325
Improve Google Analytics conditional loading
...
The current logic for condtionally including the GA snippet is confusing
and bit inconsistent. In development you would see logging when the
snippet wasn't included but this wouldn't happen if you were a logged in
admin.
Now there's only two cases:
1. Production non admin user: GA snippet is loaded.
2. Anything else (development or admin user): log output
2015-01-20 23:35:01 -05:00
Ben Word
1d7205891b
Fix editor style path
2015-01-19 16:19:57 -06:00
Ben Word
67f3811a6d
app.js -> main.js
2015-01-18 17:30:49 -06:00
Ben Word
95cbd1713d
Use minified jQuery
...
See 3a4ae77b1e (commitcomment-9235183)
2015-01-18 17:08:38 -06:00
Ben Word
a903e08b86
Use short array syntax
2015-01-18 16:45:18 -06:00
Ben Word
203c4c39e0
Use short echo syntax, bump required PHP version to 5.4
2015-01-18 16:29:23 -06:00
Ben Word
7016d92f07
Move is_element_empty to nav.php
2015-01-18 04:23:30 -06:00
Ben Word
7f64125701
Remove theme activation
2015-01-10 14:53:33 -06:00
Ben Word
587fbf6c35
Add namespace
2015-01-10 14:49:46 -06:00
Ben Word
030c084134
Rename to Sage
2015-01-09 20:52:29 -06:00
Ben Word
dadb2ce632
Merge master
2015-01-09 19:09:46 -06:00
Ben Word
fcc685f9df
Update to jQuery 1.11.2
2015-01-06 11:54:18 -06:00
Ben Word
4f26c81bb1
Use get_the_archive_title
2014-12-18 14:11:35 -06:00
Ben Word
49221085d1
Remove wp_title, add title-tag theme support
2014-12-18 14:07:43 -06:00
Joe Fletcher
41e9f3ea68
update comments now that jQuery & Modernizr load in the footer
2014-12-05 14:34:11 -08:00
Austin Pray
44f69cf0a5
Fixes modernizr not being enqueued
...
https://github.com/roots/roots/issues/1223
https://github.com/roots/roots/issues/1223#issuecomment-65754009
2014-12-05 01:00:07 -06:00
Leonardo Giacone
d37c9a8604
Removed Roots_Nav_Walker as default for all menus
2014-12-02 00:52:34 +01:00
Austin Pray
e2091ef880
Implement JSON file based asset pipeline
...
Adds manifest.json which contains all of the mappings for the assets
ref: https://github.com/roots/roots/pull/1138#issuecomment-62593715
Prune and update NPM deps
2014-11-24 12:42:41 -06:00
Austin Pray
75db78a9a1
Remove disparity between dev and prod gulp tasks
...
removes `gulp dev` in favor of `gulp`
adds `gulp --rev` to produce revved asset manifest
adds `gulp --tasks` to the readme
removes postinstall script
removes bower dep
2014-11-24 12:42:30 -06:00
Austin Pray
3a4ae77b1e
Reorganizes asset file structure
...
Separates assets into
- Source assets: `assets`
- Compiled assets: `dist`
Edits assets.php to reflect changes
Removes '.min' from filenames
Fixes:
- removes 'clean' from build step.
2014-11-24 12:34:11 -06:00
Ben Word
0ea4b8c266
Merge pull request #1191 from alexsomeoddpilot/unused-parameters
...
Unused parameters and declared properties
2014-11-14 17:48:26 -06:00
Ben Word
554e3e7339
Merge pull request #1196 from QWp6t/master
...
Store display_sidebar in static variable
2014-11-11 18:20:24 -06:00
QWp6t
d1e2196f2c
Store display_sidebar in static variable
2014-11-11 14:50:56 -08:00
Ben Word
49765c7450
Merge pull request #1136 from tomdxw/feature/1134-template_include
...
Check for template_include passing non-strings. Fixes #1134
2014-11-11 12:33:34 -06:00
Kalen Johnson
329102d630
Added correct path to editor-styles.css
2014-10-31 12:29:34 -07:00
alexsomeoddpilot
2072b30918
Declaring properties on Roots_Wrapping
2014-10-30 09:47:00 -05:00
alexsomeoddpilot
de67c88b92
Removing dead variables in activation
2014-10-30 09:41:56 -05:00
alexsomeoddpilot
2e470c7903
Fixing dead variables and params
2014-10-30 09:24:33 -05:00
Ben Word
e8822a2d67
Asset improvements (gulp)
...
Ref #1149 & https://github.com/roots/roots/blob/assets-improvements/lib/assets.php
2014-10-27 18:45:35 -05:00
Ben Word
5389bd63c3
Don't use gulp-modernizr
2014-10-27 12:43:29 -05:00
Ben Word
5b22f0bd9d
Introduce src/ and dist/ folders
...
Separate minifying/renaming of files to prod-only tasks
Add tasks for copying jQuery and fonts
Ref #1138 , #1070 , #1155
2014-10-27 12:16:01 -05:00
Ben Word
7dd0f0b755
Merge master
2014-10-24 17:56:17 -05:00
Ben Word
462cd1a9f7
Merge pull request #1180 from roots/js-to-footer
...
Move JavaScript to footer
2014-10-24 17:08:28 -05:00
Ben Word
0c1ae408e0
Simplify comments, use core comment form and list
2014-10-24 17:06:41 -05:00
Ben Word
4ab1173345
Move JavaScript to footer
...
Ref https://github.com/h5bp/html5-boilerplate/issues/1605
2014-10-24 13:06:36 -05:00
Eric Wafford
43507e4dd3
Fix Spaces
2014-10-19 12:20:56 -05:00
Eric Wafford
309917ae67
Add roots_body_class function that checks for page slug in body_class classes and adds it as needed
2014-10-07 11:41:04 -05:00
Ben Word
534fef3262
Use gulp-rev for versioning CSS and JS
2014-08-24 16:51:08 -05:00
Tom Adams
2a06b3dfba
Check for template_include passing non-strings. Fixes #1134
2014-08-21 15:36:51 -04:00
Ben Word
a36a8e4372
Close #1127 - Assume prod if WP_ENV is undefined
2014-08-15 12:51:47 -05:00
Ben Word
a1edc5404f
Merge pull request #1090 from CFXd/move-main-and-sidebar-markup-out-of-php
...
Move <main> and .sidebar markup out of PHP and into LESS
2014-08-15 12:30:09 -05:00
QWp6t
1c171bc4cb
Defines WP_ENV if it is not already defined
2014-08-13 23:50:39 -07:00
QWp6t
dd7635ced8
Always load GA snippet when not in production
2014-08-06 21:57:32 -07:00
QWp6t
dc0e838c2f
Only load GA in production environment
...
Loads Google Analytics when `WP_ENV` is 'production'
Otherwise it passes `ga()` arguments as an array to `console.log()`
Also sets cookie domain to be auto configured.
2014-08-06 20:55:12 -07:00
Scott Walkinshaw
956d204e88
Merge pull request #1113 from roots/conditional_checks
...
Check sidebar conditional tag exists
2014-08-01 10:07:07 -04:00
Nicholas Fox
f213cc02e6
Check sidebar conditional tag exists
...
Return false for non-existent conditional tags. Fixes #993
2014-07-31 23:10:23 +01:00
QWp6t
d7189b8d5e
Remove unnecessary string concatenation.
2014-07-28 10:18:29 -07:00
Michael Silber
32acdb3860
Move <main> and .sidebar markup out of PHP
...
Add more efficient LESS with variables
Add new line to _variables.less
Add sidebar class to body element instead of main element
Change body sidebar class to .sidebar-active
Change body sidebar class to .sidebar-primary
Correct spacing issues
2014-07-26 10:59:49 -04:00
Kevin Lisota
d040ddef2e
use WP HTML5 markup for captions instead of Soil
...
Use add_theme_support to enable native HTML5 captions and add caption styling to wp-caption-text.
2014-07-25 19:02:49 -07:00
Michael Silber
c0242218f8
Make WP_ENV check a positive if statement to improve semantics and readability
2014-07-10 10:49:21 -04:00