-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfunctions.php
More file actions
50 lines (43 loc) · 925 Bytes
/
Copy pathfunctions.php
File metadata and controls
50 lines (43 loc) · 925 Bytes
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
<?php
/**
* Main Theme Init.
*
* @package Greyd
*/
namespace Greyd\Theme;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Config vars for the Greyd plugin ecosystem
if ( ! defined( 'GREYD_THEME_CONFIG' ) ) {
define(
'GREYD_THEME_CONFIG',
array(
'theme_name_full' => 'Greyd WP',
'theme_name' => 'greyd-wp',
'theme_file' => __FILE__,
'theme_dir' => __DIR__,
)
);
}
/**
* Main Theme.
*/
require_once get_template_directory() . '/inc/theme.php';
/**
* Block editor.
*/
require_once get_template_directory() . '/inc/editor.php';
/**
* Global Styles.
*/
require_once get_template_directory() . '/inc/global-styles.php';
/**
* Global Fonts.
* Keeping our own implementation for now, to help exisiting users migrate.
*/
require_once get_template_directory() . '/inc/fonts.php';
/**
* Dashboard Interface.
*/
require_once get_template_directory() . '/inc/dashboard/dashboard.php';