-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.php
More file actions
93 lines (85 loc) · 2.41 KB
/
config.example.php
File metadata and controls
93 lines (85 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?php
return [
/**
* excerpt-length
* how many words should the wordpress excerpt be
*/
"excerpt-length" => 100,
/**
* guest-class
* if you want wordpress to automatically append a class to the body_class
* list when users are not authenticated, put that class name here. it
* defaults to "guest"
*
* to disable, set this to null
*/
"guest-class" => "null",
/**
* menu-locations
* register your individual menu locations here
*/
"menu-locations" => [
"main-nav" => "Main Navigation",
"footer-nav" => "Footer Navigation",
],
/**
* custom-post-types
* here is where you can define your custom post types easily
*
* icons are powered by dashicons, choose one from here:
* https://developer.wordpress.org/resource/dashicons
*
* additional options are enabled in the cpt options key
* if you override "supports", be sure to include 'title' and 'editor' in
* the list for standard wordpress functionality
*/
"custom-post-types" => [
[
"slug" => "thing",
"icon" => "dashicons-tide",
"options" => [
"supports" => ['title', 'editor', 'thumbnail', 'comments']
]
],
],
/**
* handlebars
*
* We use handlebars templating extensivly in this theme and code pattern.
* You can adjust the defaults for many attributes here.
*
* Set this to `false` to disable handlebars functionality completely
*/
"handlebars" => [
/**
* additional-helpers
* if you need to register additional Handlebars Helpers, register them here
*
* the key is the name that you will use in your templates, and the value is
* the callback function that is run on the template side
*/
"additional-helpers" => [],
/**
* template-extension
*
* The default extention for your templates is .tpl
* If you'd like to change that, set the vaule here, without the dot
*/
// "template-extension" => "tpl",
],
/**
* enable
* enable individual wordpress features here
*/
"enable" => [
"post-thumbnails",
"menus",
],
/**
* disable
* disable individual wordpress features here
*/
"disable" => [
"editor",
],
];