Commit Graph

47 Commits

Author SHA1 Message Date
Matt Mirus
19057f60be Filter template hierarchy for embed templates (#2145) 2019-01-15 16:42:00 -08:00
Kim Helge Frimanslund
435e9f26dc More descriptive variable name 2018-10-28 23:37:54 +01:00
Kim Helge Frimanslund
79fddf944f Remove no longer needed script enqueue fix 2018-10-27 11:54:30 +02:00
Kim Helge Frimanslund
ede699368e Bring hook run sequence in line with expected WordPress behaviour 2018-10-27 11:53:52 +02:00
Ben Word
c9bb05a93d Merge pull request #2110 from roots/revert-2090-master
Revert "Add searchform partial and function to replace default WordPress functionality"
2018-09-07 07:57:23 -06:00
Ben Word
b7aeb66655 Revert "Add searchform partial and function to replace default WordPress functionality" 2018-09-06 19:12:32 -06:00
Daniel Mejta
190e828cfd Revert "Final filter that renders template should have PHP_INT_MAX priority."
This reverts commit 68f8d9791d.
2018-09-05 00:46:31 +02:00
Daniel Mejta
b16e619da6 $comments_template fix 2018-09-03 08:43:51 +02:00
Daniel Mejta
68f8d9791d Final filter that renders template should have PHP_INT_MAX priority. 2018-08-28 07:23:58 +02:00
Daniel Mejta
fa1681dad9 Add data from controller to comments template 2018-08-28 07:19:59 +02:00
Ben Word
d7acd3a04f 9.0.2 2018-08-21 15:48:26 -06:00
Ben Word
0d4b251130 Merge pull request #2095 from mejta/comments-template-fix
Comments template fix
2018-08-21 15:37:22 -06:00
Ben Word
53d67e1755 Merge branch 'master' into master 2018-08-21 15:30:05 -06:00
Daniel Mejta
75a68059f8 Fix 2018-08-21 15:40:11 +02:00
Michael W. Delaney
c1bc6ef596 Update filters.php 2018-08-08 09:55:54 -04:00
Michael W. Delaney
d13e8fd9be Update filters.php 2018-08-08 08:51:00 -04:00
Ben
e898cf1f4d Extract logic from search form template
This removes all logic from the search form Blade template, and extracts
it to the "Controller" level via Sage's filter system. It also adds a
global 'app' filter to hook into, so that the search form data will be
served on every page.
2018-08-06 13:06:34 -07:00
MWDelaney
1ccc2eed76 Add searchform partial and function to replace (and maintain) default WordPress functionality 2018-08-05 12:07:32 -04:00
Daniel Roe
a9312c0633 Fix missing comment-reply JS (#2085) 2018-07-18 16:37:51 -06:00
Kim Helge Frimanslund
9a4b81c43a Make template() compatible with wp admin 2018-05-06 13:42:31 +02:00
Ben Word
571c49f698 Close #2028 - Increase priority on comments_template filter 2018-04-25 12:18:52 -06:00
Ben Word
061d3ad700 Merge pull request #1980 from dmgawel/patch-1
Update template hierarchy
2018-04-25 12:16:01 -06:00
Darren Jacoby
b3a0b7ff08 PSR4 loading for Controller 2.0.0 2018-02-07 17:43:50 +02:00
Darren Jacoby
11e37a5184 PSR4 loading for Controller 2.0.0 2018-02-07 17:43:24 +02:00
Darren Jacoby
4470c26ddd PSR4 loading for Controller 2.0.0 2018-02-07 17:39:35 +02:00
Ben Word
fe66ed52cd Update controller examples 2017-10-30 09:53:47 -06:00
Dawid Gaweł
3f9d31c19a Update template hierarchy
All sage/filter_templates/paths have now higher priority than stand-alone template files. Fixes #1979
2017-10-19 12:59:24 +02:00
Darren Jacoby
dcbd5a7366 Change default Controller path to app/controllers 2017-08-20 19:14:46 +02:00
Ben Word
499f809c6e Merge pull request #1941 from kaisermann/fix-template-controller
Ensure templates filenames without path and extension.
2017-08-17 10:53:52 -06:00
Christian Kaisermann
33b981c4fc Ensure to get templates filenames without path and extension. 2017-08-17 13:43:33 -03:00
Ben Word
e00eaf7e8f Merge pull request #1912 from kaisermann/title-on-controller
Moved title() helper to app.php controller
2017-08-16 21:24:52 -06:00
Michael W. Delaney
6c472480d0 Update helpers.php 2017-08-14 11:18:40 -04:00
QWp6t
b34bfeab3c Replace ContainerContract with Container
thx @LeoColomb for catching this
2017-07-09 14:03:28 -07:00
1a8dce9b09 Use roots/sage-lib (incl. new config system) 2017-07-09 07:05:07 -07:00
6bbc676ecb Use roots/sage-installer for post-create event 2017-07-01 18:03:58 -07:00
Christian Kaisermann
d956e54c85 Moved title() helper to app.php controller 2017-06-23 13:03:35 -03:00
Sam Rapaport
95acfe2ff5 Remove test output. 2017-06-13 09:47:19 -07:00
Sam Rapaport
3849192cc7 Don't remove comments when clearing files. 2017-06-13 09:45:42 -07:00
Dave Kiss
6b3d44857b assets -> resources/assets 2017-06-13 08:47:10 -04:00
Dave Kiss
e59dc20163 Merge branch 'master' of github.com:roots/sage 2017-06-13 08:39:27 -04:00
Léo Colombaro
62bba1bd23 illuminate: make with parameters (#1888)
Since Illuminate 5.4, `$container->make` with `$parameters` is `$container->makeWith` : 8fbb101a60/Container.php (L547-L568)

Related: 
* f242cb50e9
* 1fc0d2451e
2017-05-02 01:21:07 -07:00
Toby Schrapel
dfcac1e857 Remove die/var_dump 2017-04-25 08:54:27 -05:00
Ben Word
4917135ed3 Beta 3 2017-04-21 14:13:20 -06:00
Nicolo Sacchi
b11cb99d64 Fixed production manifest path (#1881) 2017-04-17 19:47:43 -07:00
QWp6t
99160be992 Move required theme files to sage/resources
* Resolves issue with WP only looking one-level deep for templates #1870
* get_template_dir() and related functions now point to sage/resources
* Use collect() when assembling views paths
* Update tree in README
2017-04-15 18:52:03 -07:00
Ciro Mattia Gonano
3852cf8f4b front_page -> frontpage
Fix regression, see 6ca3b3faa7
2017-04-05 11:13:07 +02:00
Ben Word
80728a1b94 Move src/ to app/ 2017-04-03 19:46:52 -06:00