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
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
Kalen Johnson
329102d630
Added correct path to editor-styles.css
2014-10-31 12:29:34 -07: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
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
Ben Word
bb91236440
Merge master
2014-06-30 00:24:08 -05:00
Ben Word
17ee6e42d8
Update lib/init.php
2014-06-30 00:12:37 -05:00
Scott Walkinshaw
d951c1814d
Fix is_element_empty
2014-06-17 21:34:04 -04:00
Scott Walkinshaw
eff8b55bb4
Merge pull request #999 from ansonkao/patch-1
...
Author Archives title - WPML Compatibility
2014-06-17 21:12:46 -04:00
BastianHofmann
6ddbd6e9de
Fix is_element_empty util function.
2014-06-17 16:03:20 +02:00
QWp6t
d82daf2c57
Get menifest.json from file system. Fixes #1048
2014-05-30 23:23:45 -07:00
Ben Word
7552cd4d97
Update to jQuery 1.11.1
2014-05-21 18:24:25 -05:00
Ben Word
cc17c14de8
Merge pull request #1019 from JulienMelissas/7.0.0
...
Using un-optimized version of modernizr in dev environment.
2014-04-16 16:02:44 -05:00
Chris Carr
31d4e8a0a0
Move main/sidebar class filters into config.php (fix missing arg errors).
2014-04-12 20:49:22 -07:00
Julien Melissas
ea35b85da7
- fixing weird double negative thing on line 22
...
- using unpackages/unoptimized modernizr when in the WordPress development environment
2014-04-05 00:49:21 -04:00
Ben Word
b4c7b9b4b2
Offer just one header, the BS top navbar
2014-03-31 20:14:33 -05:00
Ben Word
be14fdb69c
Use grunt-wp-assets
2014-03-30 23:01:59 -05:00
Ben Word
92cb5bc518
Use 'roots/' for filters
2014-03-30 21:23:00 -05:00
Ben Word
ea5699f284
Use apply_filters for main and sidebar classes
2014-03-30 20:47:16 -05:00
Ben Word
0f606929e0
Add comments about GA
2014-03-30 19:50:03 -05:00
Ben Word
7551f99641
Re-add excerpt and wp_title functions from cleanup.php
...
Rename custom.php to extras.php
2014-03-30 19:36:47 -05:00
Ben Word
87ef63f58b
Move translations outside repo
...
See https://github.com/roots/roots-translations
2014-03-30 19:12:38 -05:00
lainga9
98818ea7c7
Bug in roots_request_filter()
...
This function affects the dashboard as well and breaks product filtering in WooCommerce 2.15 (not sure what other versions). Adding && !is_admin() should fix it.
2014-03-25 16:14:56 +00:00
Julien Melissas
e3012cb845
Adding comment to reduce confusion about div tag closing.
2014-03-20 12:57:03 -04:00
Illimar Tambek
554374fb07
Make Home and Primary Navigation translatable
2014-03-18 08:33:04 +02:00
Ben Word
70054b7d08
Just enqueue JS instead of register + enqueue
2014-03-11 23:57:03 -05:00
Ben Word
dede0bd851
Close #992 - Move some Roots features into Soil
2014-03-11 23:34:17 -05:00
Anson Kao
b2ca4611f6
Author Archives title - WPML Compatibility
...
If WPML String Translation is used to have multilingual author names, this change is needed to persist the translation to the title of the Author Archives page.
2014-03-05 02:21:37 -05:00