Commit Graph

341 Commits

Author SHA1 Message Date
Phil Nelson
6b90341d5f Change SageNavWalker to NavWalker in comments 2015-03-22 12:25:36 -04:00
Kalen Johnson
796eaf1600 Referencing ConditionalTagCheck directly 2015-03-18 14:09:10 -07:00
Kalen Johnson
897782e65d Changing SageNavWalker to NavWalker, and referencing it directly in the template 2015-03-18 13:52:15 -07:00
QWp6t
67acc1ae3d Move GA snippet to roots/soil 2015-03-13 00:48:25 -07:00
QWp6t
39d635b9cf Apply script_loader_src filter to jquery fallback 2015-03-03 14:13:12 -08:00
Ben Word
a57e07b14a Use a constant for the build directory path
Ref #1352
2015-03-03 14:37:47 -06:00
Ben Word
0c25df7e09 Merge pull request #1365 from roots/conditional-tag-check-args-fix
Update ConditionalTagCheck and usage docs
2015-03-03 14:32:03 -06:00
Ben Word
6a9e437427 Merge pull request #1352 from emaildano/patch-2
Handle $dist_path as var
2015-03-03 14:31:04 -06:00
Scott Walkinshaw
fe94039e70 Update ConditionalTagCheck and usage docs
When passing an argument to a function for ConditionalTagCheck, the
argument should *not* always be an array. The function will be called
wit the arguments as is and not modified. So if the function takes a
string argument, keep it as a string. If it takes an array, use an
array.
2015-03-03 15:26:30 -05:00
Leo Gono
566563e701 change default columns to 3.
Issue is if you set 3 in Gallery options it will output 4 columns in the frontend. The default WordPress column is 3 for gallery and if it's set to 3, it does not added any column attribute to the shortcode which cause the issue. Setting the default to 3 should fix the issue.
2015-03-03 15:26:50 +08:00
Scott Walkinshaw
65382410b5 Restore template-custom to sidebar config 2015-02-27 22:07:43 -06:00
Austin Pray
12d0f21e03 dist_var -> dist_dir 2015-02-26 17:07:31 -06:00
Daniel Olson
c64d70f1bb Corrected $dist_path var 2015-02-26 17:32:53 -05:00
Daniel Olson
11713f1ec8 Handle $dist_path as var
Based on this thread: https://discourse.roots.io/t/sage-and-augmenting-my-workflow/2965/3

This sets up the opportunity to change the path of `dist/` for those needing to reference a different build.
2015-02-26 16:39:53 -05:00
Ben Word
3fe2fa9d92 config.php clean up 2015-02-20 16:21:32 -06:00
Ben Word
6e7c887b63 Merge pull request #1329 from roots/conditional-tag-check
[WIP] Conditional tag check
2015-02-20 16:01:07 -06:00
Ben Word
a8819028f0 Update links 2015-02-20 15:06:12 -06:00
Scott Walkinshaw
e1663c5d2f Convert Sidebar to ConditionalTagCheck
Simplify and generalize class since it had nothing to do directly with
the sidebar. Now it can be used for other purposes as well.
2015-02-19 15:36:42 -05:00
Ben Word
73fa0de4d5 Merge branch 'master' into 8.0.0
Conflicts:
	lib/sidebar.php
2015-02-19 11:18:49 -06:00
Ben Word
17a04ee696 Migrate @Foxaii's nav-rejig for 8.0.0 2015-02-19 11:08:47 -06:00
Jason Gegere
031c4e17c0 use correct filename editor-style.css on dev or editor-style-*.css listed in manifest file for tinymce editor 2015-02-12 20:02:54 -06:00
Ben Word
b942809c97 Remove unnecessary forward slash from editor style path 2015-02-11 01:07:04 -06:00
Austin Pray
7b54b36afd Adds get_path method to JsonManifest 2015-01-31 12:08:13 -06:00
Austin Pray
979b99f397 reconcile bower dependency versions with CDN url 2015-01-31 00:33:07 -06:00
Austin Pray
f93a1f2c8c Memoize asset_path function
Previously roots would do a file operation each time asset_path is
called. Now it will only parse the json manifest one time per program
execution.

Extract json reading to class that can be used to read bower.json
2015-01-30 23:25:55 -06:00
Austin Pray
c85d059239 Switches from livereload to browsersync
Formatting
Removes references to livereload
Removes enqueued livereload client
2015-01-28 09:22:05 -06:00
Ben Word
594251ae44 Update referenced file name 2015-01-27 16:40:38 -06:00
Ben Word
b8608db3ec minor 2015-01-27 14:12:09 -06:00
Austin Pray
d5d2d02459 Fixes livereload
If the environment is development -> try loading the livereload client
being served by `gulp watch`
2015-01-24 13:17:25 -06:00
Austin Pray
c95261e8a8 Merge branch '8.0.0' of github.com:roots/roots into fix-gulp-rev
Conflicts:
	gulpfile.js
	package.json
2015-01-24 11:41:59 -06:00
Ben Word
f4d64d23c9 Update PHP files to pass coding standards 2015-01-24 00:48:50 -06:00
Austin Pray
c60b9052bf Enhance asset revving
conditional asset revving based on --production
make assets.php respect new asset revving flow
2015-01-23 03:13:01 -06:00
Austin Pray
1f098c242b Safe console.log 2015-01-21 10:41:46 -06:00
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
Austin Pray
c6a0f6eab9 Reworks asset revving
fixes https://github.com/roots/roots/issues/1266
2015-01-19 15:19:26 -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
Scott Walkinshaw
2723692852 Merge pull request #1126 from mikespainhower/patch-display-sidebar
Update Sidebar to fix default template check
2014-12-23 08:25:56 -05: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