Ben Word
9c522ed9f4
Fix conflict with WP core
2016-12-30 12:51:55 -07:00
Ben Word
7722579961
Merge pull request #1781 from roots/config-class
...
Use Config object to store config options
2016-12-30 12:02:43 -07:00
QWp6t
50bc9d8525
Merge branch 'master' into config-class
2016-12-28 13:20:50 -08:00
QWp6t
6ccdb6d799
Throw errors if minimum requirements aren't met ( #1782 )
2016-12-28 13:19:19 -08:00
QWp6t
cb03de326d
Merge branch 'master' of github.com:roots/sage
2016-12-27 22:16:42 -08:00
QWp6t
0b17f2a96c
Use get_theme_file_path()
2016-12-27 22:15:55 -08:00
Ben Word
725ee8446b
Enable selective refresh for widgets in customizer ( #1778 )
2016-12-25 14:48:18 -08:00
QWp6t
121e3f20d7
Prefer passing class name when binding new shared instances
2016-12-24 23:45:05 -08:00
QWp6t
c0fc19ef61
Use Config object to store config options
2016-12-24 23:14:38 -08:00
QWp6t
5d454ba8ed
Remove templates/ when normalizing templates in hierarchy filters
2016-12-24 04:42:05 -08:00
QWp6t
50a6f8ea60
Do not use after_switch_theme hook, closes #1768
2016-12-24 04:29:14 -08:00
QWp6t
3258bff64e
Pass $template to sage/template/{$class}/data filter, closes #1771
2016-12-18 16:00:00 -08:00
QWp6t
a3141c569e
Refactor Blade implementation (again), closes #1769 ( #1777 )
...
* Squash bugs, reorganize, etc.
* Use `get_body_class()` to apply filters on template data
* Use `PHP_INT_MAX` as priority for `template_include` filter
2016-12-18 15:50:08 -08:00
Ben Word
258d454bec
Merge pull request #1772 from davekiss/patch-1
...
front_page => frontpage
2016-12-12 15:25:15 -07:00
Dave Kiss
6ca3b3faa7
front_page => frontpage
...
Correct the value based on what WordPress passes as filter values
https://github.com/WordPress/WordPress/blob/4.7-branch/wp-includes/template.php#L29-L41
2016-12-12 17:24:34 -05:00
Ben Word
6a0488a99b
npm -> yarn
2016-12-10 23:22:09 -07:00
Ben Word
7b6e4194ef
npm -> yarn
2016-12-10 22:34:50 -07:00
QWp6t
1ebe72fbb1
Update composer.lock
2016-12-10 12:08:04 -08:00
QWp6t
1a39af0f7f
Update .travis.yml for Sage 9
2016-12-10 08:04:53 -08:00
QWp6t
fb6f01bac8
Array manipulation in FileViewFinder::getPossibleViewFiles() should be a separate method
2016-12-10 06:11:11 -08:00
QWp6t
354c32e0de
Add sage/template_data filter so developers can pass data within template_include
2016-12-10 06:07:26 -08:00
QWp6t
7af96ac311
Normalize $templates[] in {$type}_template_hierarchy
2016-12-10 06:06:00 -08:00
QWp6t
945e3b76d7
Use @php() instead of @php [...] @endphp
2016-12-09 23:48:31 -08:00
QWp6t
b3ebd1f698
Fallback delimiter should be const
2016-12-08 15:55:16 -08:00
QWp6t
e3546ce5d7
Merge branch 'master' of github.com:roots/sage
2016-12-08 15:22:52 -08:00
QWp6t
7f7ce45ed4
Use hyphen in view paths as delimiter for fallback views
2016-12-08 15:22:17 -08:00
Evan Mattson
2edbab951c
tighten version constraint for illuminate/view ( #1767 )
2016-12-08 12:55:21 -08:00
QWp6t
99752388bc
Ignore yarn-error.log file 👀
2016-12-08 11:53:13 -08:00
Ben Word
b53ab6e4a1
Merge pull request #1765 from roots/blade
...
Blade
2016-12-06 17:07:38 -07:00
Kalen Johnson
3dadb86ec2
Fixing double echo's, template cleanup
2016-12-06 15:24:15 -08:00
Kalen Johnson
b7742fd86f
Fix sidebar echoing a 1
2016-12-06 15:07:37 -08:00
Ben Word
5c12f0ff8e
👀
2016-12-06 15:45:19 -07:00
Ben Word
ff410b1c1e
Uncomment sidebar, fix include
2016-12-06 15:39:58 -07:00
Ben Word
ca9af502df
Update README.md
2016-12-06 15:06:22 -07:00
QWp6t
0d83ed4b8b
Refactor Blade implementation. Use Container
2016-12-06 03:42:41 -08:00
Ben Word
c69431efa5
Remove PHP 5.5 testing from Travis
2016-12-04 20:19:01 -07:00
QWp6t
f23477386d
Use array_map() for blade hierarchy loop
2016-12-04 11:21:45 -08:00
QWp6t
7367225c3e
Require PHP >= 5.6.4
2016-12-04 11:20:10 -08:00
QWp6t
aef630d898
Remove wrapper and template classes
2016-12-04 11:19:34 -08:00
QWp6t
c20f53dee4
Resolve style issues
2016-12-04 08:35:13 -08:00
kalenjohnson
0918597d4a
First pass at Blade templating
2016-12-03 10:27:22 -08:00
kalenjohnson
3c831356f2
Merge branch 'master' of github.com:roots/sage
2016-12-03 10:22:45 -08:00
Joshua Geschwendt
8388805ba9
Fix to load optimization config ( #1762 )
...
closes #1761
2016-12-01 09:08:09 -08:00
Ben Word
2d57641b3d
Merge pull request #1760 from roots/remove-sidebar-defaults
...
Remove sidebar defaults
2016-11-29 20:10:58 -07:00
kalenjohnson
0af72b8525
Unused use keyword
2016-11-27 18:40:33 -08:00
Ben Word
56c3bb8367
Remove sidebar defaults
2016-11-27 15:04:02 -07:00
Ben Word
1b62092855
Merge pull request #1759 from roots/remove-post-formats
...
Remove post formats
2016-11-27 15:00:32 -07:00
Ben Word
d3171d3caa
Replace WP codex links with developer.wordpress.org links
2016-11-27 14:56:03 -07:00
Ben Word
78ea970eab
Remove post formats
2016-11-27 14:54:47 -07:00
Ben Word
265815f5bf
Merge pull request #1751 from roots/alpha4
...
Sage 9-alpha.4
2016-11-16 21:04:04 -07:00