|
1 | 1 | <?php
|
2 | 2 |
|
3 | 3 | return [
|
4 |
| - /** |
5 |
| - |-------------------------------------------------------------------------- |
6 |
| - | Theme Textdomain |
7 |
| - |-------------------------------------------------------------------------- |
8 |
| - | |
9 |
| - | Determines a textdomain for your theme. Should be used to dynamically set |
10 |
| - | namespace for gettext strings across theme. Remember, this value must |
11 |
| - | be in sync with `Text Domain:` entry inside style.css theme file. |
12 |
| - | |
13 |
| - */ |
| 4 | + /* |
| 5 | + |-------------------------------------------------------------------------- |
| 6 | + | Theme Textdomain |
| 7 | + |-------------------------------------------------------------------------- |
| 8 | + | |
| 9 | + | Determines a textdomain for your theme. Should be used to dynamically set |
| 10 | + | namespace for gettext strings across theme. Remember, this value must |
| 11 | + | be in sync with `Text Domain:` entry inside style.css theme file. |
| 12 | + | |
| 13 | + */ |
14 | 14 | 'textdomain' => '{{ theme.textdomain }}',
|
15 | 15 |
|
16 |
| - /** |
17 |
| - |-------------------------------------------------------------------------- |
18 |
| - | Templates files extension |
19 |
| - |-------------------------------------------------------------------------- |
20 |
| - | |
21 |
| - | Determines the theme's templates settings like an extension of the files. |
22 |
| - | By default, they use `.tpl.php` suffix to distinguish template files |
23 |
| - | from controllers, but you are free to change it however you like. |
24 |
| - | |
25 |
| - */ |
| 16 | + /* |
| 17 | + |-------------------------------------------------------------------------- |
| 18 | + | Templates files extension |
| 19 | + |-------------------------------------------------------------------------- |
| 20 | + | |
| 21 | + | Determines the theme's templates settings like an extension of the files. |
| 22 | + | By default, they use `.tpl.php` suffix to distinguish template files |
| 23 | + | from controllers, but you are free to change it however you like. |
| 24 | + | |
| 25 | + */ |
26 | 26 | 'templates' => [
|
27 | 27 | 'extension' => '.tpl.php'
|
28 | 28 | ],
|
29 | 29 |
|
30 |
| - /** |
31 |
| - |-------------------------------------------------------------------------- |
32 |
| - | Theme Root Paths |
33 |
| - |-------------------------------------------------------------------------- |
34 |
| - | |
35 |
| - | This values determines the "root" paths of your theme. By default, |
36 |
| - | they use WordPress `get_template_directory` functions and |
37 |
| - | probably you don't need make any changes in here. |
38 |
| - | |
39 |
| - */ |
| 30 | + /* |
| 31 | + |-------------------------------------------------------------------------- |
| 32 | + | Theme Root Paths |
| 33 | + |-------------------------------------------------------------------------- |
| 34 | + | |
| 35 | + | This values determines the "root" paths of your theme. By default, |
| 36 | + | they use WordPress `get_template_directory` functions and |
| 37 | + | probably you don't need make any changes in here. |
| 38 | + | |
| 39 | + */ |
40 | 40 | 'paths' => [
|
41 | 41 | 'directory' => get_template_directory(),
|
42 | 42 | 'uri' => get_template_directory_uri(),
|
43 | 43 | ],
|
44 | 44 |
|
45 |
| - /** |
46 |
| - |-------------------------------------------------------------------------- |
47 |
| - | Theme Directory Structure Paths |
48 |
| - |-------------------------------------------------------------------------- |
49 |
| - | |
50 |
| - | This array of directories will be used within core for locating |
51 |
| - | and loading theme files, assets and templates. They must be |
52 |
| - | given as relative to the `root` theme directory. |
53 |
| - | |
54 |
| - */ |
| 45 | + /* |
| 46 | + |-------------------------------------------------------------------------- |
| 47 | + | Theme Directory Structure Paths |
| 48 | + |-------------------------------------------------------------------------- |
| 49 | + | |
| 50 | + | This array of directories will be used within core for locating |
| 51 | + | and loading theme files, assets and templates. They must be |
| 52 | + | given as relative to the `root` theme directory. |
| 53 | + | |
| 54 | + */ |
55 | 55 | 'directories' => [
|
56 | 56 | 'languages' => 'resources/languages',
|
57 | 57 | 'templates' => 'resources/templates',
|
|
60 | 60 | 'app' => 'app',
|
61 | 61 | ],
|
62 | 62 |
|
63 |
| - /** |
64 |
| - |-------------------------------------------------------------------------- |
65 |
| - | Autoloaded Theme Components |
66 |
| - |-------------------------------------------------------------------------- |
67 |
| - | |
68 |
| - | The components listed below will be automatically loaded on the |
69 |
| - | theme bootstrap by `functions.php` file. Feel free to add your |
70 |
| - | own files to this array which you would like to autoload. |
71 |
| - | |
72 |
| - */ |
| 63 | + /* |
| 64 | + |-------------------------------------------------------------------------- |
| 65 | + | Autoloaded Theme Components |
| 66 | + |-------------------------------------------------------------------------- |
| 67 | + | |
| 68 | + | The components listed below will be automatically loaded on the |
| 69 | + | theme bootstrap by `functions.php` file. Feel free to add your |
| 70 | + | own files to this array which you would like to autoload. |
| 71 | + | |
| 72 | + */ |
73 | 73 | 'autoload' => [
|
74 | 74 | 'helpers.php',
|
75 | 75 | 'Structure/posttypes.php',
|
|
0 commit comments