Commit Graph

338 Commits

Author SHA1 Message Date
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
Mike Spainhower
1195739c70 Update Sidebar to fix default template check 2014-11-16 07:49:07 -07: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
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