Skip to content

Commit

Permalink
Update php dependency and update templates config to handle custom po…
Browse files Browse the repository at this point in the history
…st types.
  • Loading branch information
jlambe committed Dec 7, 2016
1 parent ce38845 commit 929b51f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"type": "wordpress-theme",
"require": {
"php": ">=5.6",
"php": ">=5.6.4",
"composer/installers" : "~1.2",
"filp/whoops": "^2.1",
"twig/twig": "~1.0",
Expand Down
11 changes: 6 additions & 5 deletions resources/config/templates.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
return [

/**
* Edit this file in order to configure your page
* templates.
* Edit this file in order to configure your theme templates.
*
* Simply define a template slug. You can also define a custom display
* name by setting a value to your template slug.
* Simply define a template slug.
*
* Since WordPress 4.7, templates can be defined for pages but
* also on custom post types.
*/
'custom-template' => 'Custom template',
'custom-template' => ['Custom template', ['page']],

];

0 comments on commit 929b51f

Please sign in to comment.