QWp6t
320c6916dc
Use shorthand syntax in main.js routes
2016-07-16 10:14:57 -07:00
QWp6t
339cc8e01e
router doesn't require jQuery. use default params
2016-07-16 10:02:03 -07:00
QWp6t
34253864fa
Fix display of theme name in Customizer
2016-07-16 02:43:24 -07:00
QWp6t
f34af480db
Convert scripts to es6
2016-07-16 02:17:16 -07:00
QWp6t
eae36be2c9
Refactor functions.php
...
* Isolate scope of included files
* Load composer dependencies before loading Sage procedural code
Note that scope isolation was originally proposed by @al-the-x in 2014,
and we rejected it at the time. Our theory at the time was that shared
scope might be expected by WordPress developers. But since then we've done
quite a number of things that are atypical of WordPress development,
including our use of namespaces, which in itself is a form of scope
isolation.
2016-07-16 00:35:45 -07:00
QWp6t
325c4d4cc8
Merge pull request #1678 from roots/sage9-rework_wrapper
...
Rework template wrapper, bring back template_part()
2016-07-15 22:44:01 -07:00
QWp6t
eb3a7add85
Rework template wrapper, bring back template_part()
2016-07-15 05:31:02 -07:00
QWp6t
0a71544b83
Fix tpyo
2016-07-15 03:09:09 -07:00
QWp6t
9bfdd5a5f5
Remove unused static variable in Wrapper
2016-07-14 23:17:11 -07:00
QWp6t
96c5969925
Fix Obj->__toString() conditional logic in wrapper
2016-07-14 23:16:45 -07:00
QWp6t
8ee444d7b7
Allow Obj->__toString() in template heirarchy filter
2016-07-14 15:16:00 -07:00
QWp6t
4435d52d01
Wrap templates located outside the theme
...
Wrapper will now pass through $template if locate_template() turns up zero
results.
2016-07-14 15:00:07 -07:00
Ben Word
ca4db00fab
Merge pull request #1667 from allanchau/patch-1
...
Updated to align with the Bootstrap 4 docs
2016-06-22 10:07:47 -06:00
Allan Chau
0356230f2f
Updated to align with the Bootstrap 4 docs
2016-06-16 21:04:42 +09:30
Ben Word
b1163258b4
Merge pull request #1663 from ntwb/patch-2
...
Add `npm prune` to Travis CI
2016-06-15 06:18:55 -06:00
Stephen Edgar
07aec245a3
Add npm prune to Travis CI
...
> Via https://docs.npmjs.com/cli/prune
> > This command removes "extraneous" packages. If a package name is provided, then only packages matching one of the supplied names are removed.
> >
> > Extraneous packages are packages that are not listed on the parent package's dependencies list.
The reason for adding this is to go hand in hand with the Travis CI caching implemented a while ago, if you don't run `npm prune` periodically then older packages will not be removed from the cache and the cache will continue to grow in size.
I suspect if you compare the Travis CI cache size between master and this PR, this PR will be significantly smaller. (You could also inspect the cache with Travis CI CLI I think)
https://travis-ci.org/roots/sage/caches
2016-06-09 09:46:51 +10:00
Ben Word
764d5fb686
Merge pull request #1650 from darrenjacoby/bootstrap-4
...
Bootstrap NPM ^4.0.0-alpha.2
2016-05-23 09:52:21 -05:00
Darren Jacoby
c1fed13ca6
Bootstrap NPM ^4.0.0-alpha.2
2016-05-21 18:36:38 +02:00
PTiCA1
83ee29fc47
Sage 9 - fix bootstrap4 styles ( #1642 )
...
Update after Bootstrap 4 class name changes
2016-05-03 10:54:25 -04:00
Ben Word
752bf04626
Travis: Remove oauth
2016-04-03 17:20:12 -05:00
Ben Word
fd1f6251e4
Use Composer to run PHPCS and PHPMD tests
2016-04-03 17:16:29 -05:00
Ben Word
508de7dd3b
Composer autoload conditional
2016-04-03 17:03:42 -05:00
Ben Word
b19cbbf1df
Merge pull request #1628 from HumulusLLC/sage-9
...
Fix autoloader load order issue when including Sage 9 via composer.json in Bedrock
2016-04-03 15:13:34 -05:00
Ben Word
e554726d4a
Travis: gulp and Bower are no longer needed
2016-04-02 23:34:12 -05:00
Ben Word
f5aaf3b18c
Consistency
2016-04-02 23:33:55 -05:00
Ben Word
4d5bc345d4
Merge pull request #1626 from ptrckvzn/fix-sidebar-templates
...
is_page_template() requires the name of the subfolder
2016-04-02 22:54:51 -05:00
Ben Word
3216174fe8
Merge pull request #1632 from roots/update-readme
...
Update Sage 9 README
2016-04-02 22:46:55 -05:00
Ben Word
1a52c680a5
Update README [ci skip]
2016-04-02 22:45:08 -05:00
Ben Word
42f7de2bd1
Merge pull request #1629 from ptrckvzn/webpack-sage-9
...
webpack config - improvements
2016-03-30 11:33:43 -05:00
Patrick Vézina
f89c550d36
webpack - various ameliorations
2016-03-30 10:03:18 -04:00
Patrick Vézina
1a8935370e
bootstrap 4 flex grid
2016-03-26 14:54:34 -04:00
Matthew Henkler
a994889f9a
Move Sage includes from autoloader back to functions.php to fix issues including in Bedrock
2016-03-25 11:21:57 -05:00
Ben Word
bf31b59c6a
Merge pull request #1627 from ptrckvzn/webpack-sage-9
...
webpack implementation improvements
2016-03-24 12:14:42 -03:00
Patrick Vézina
c2658fc5b2
add image-webpack-loader; keep subfolder(s) for images & fonts: 'dist/images/foo/bar.jpg'
2016-03-24 11:07:45 -04:00
Patrick Vézina
9bb62336a8
remove env variable in npm scrpts; rename watch script for clarity
2016-03-15 22:14:04 -04:00
Patrick Vézina
8e2aeb53ab
images & fonts : keep the same name
2016-03-15 11:25:50 -04:00
Patrick Vézina
7fa53e3e37
remove SAGE_ENV; uses webpack -d/-p flags; add config file; subfolders in dist/
2016-03-15 10:47:02 -04:00
Patrick Vézina
55b9feab25
is_page_template() requires the name of the subfolder
2016-03-15 08:16:59 -04:00
Ben Word
82cd4c32f6
Missed during rebase. 3f9b112ffa (commitcomment-16669985)
2016-03-13 18:06:55 -04:00
Ben Word
d1685fee7f
Merge pull request #1625 from ptrckvzn/webpack-sage-9
...
WIP: webpack implementation
2016-03-13 17:55:29 -04:00
Patrick Vézina
7d1baa0fe7
webpack implementation
2016-03-13 17:08:30 -04:00
Ben Word
610c46b3b1
Require PHP 5.5
2016-03-12 13:47:56 -05:00
Ben Word
4d079d9068
Missed during rebase
2016-03-12 12:33:32 -05:00
Ben Word
98b84ec23a
Missed during rebase
2016-03-11 18:39:31 -05:00
QWp6t
3f9b112ffa
Restructure theme, use autoloader
2016-03-11 18:10:05 -05:00
Jake Cobley
463d6bcf07
removed deprecated gulp-minify-css in favour of gulp-cssnano
2016-03-11 18:09:45 -05:00
Ben Word
13c46811ba
Ben Word -> Roots
2016-03-11 18:06:28 -05:00
Ben Word
5551ddebfa
Fix BS4 grid after their grid updates
2016-03-11 18:06:28 -05:00
Mike Spainhower
856a482bab
Pass the correct template.
2016-03-11 18:06:28 -05:00
QWp6t
b42c425e5c
Optimize travis a bit
...
1. Add apt and composer's cache folder to travis cache
2. Use --prefer-dist to avoid cloning repos
3. Use --no-interaction to inform composer that prompts should be suppressed
4. Use travis_retry to resolve occasional network failures/timeouts
2016-03-11 18:06:28 -05:00