forked from seatonjiang/kratos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
functions.php
47 lines (33 loc) · 1.12 KB
/
functions.php
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
<?php
/**
* 模板函数
* @author Seaton Jiang <[email protected]>
* @license GPL-3.0 License
* @version 2023.08.25
*/
define('THEME_VERSION', '4.3.0');
if (defined('WP_USE_THEMES') && WP_USE_THEMES === false) {
return;
}
// 主题配置
require get_template_directory() . '/inc/codestar-framework/autoload.php';
// 更新配置
require get_template_directory() . '/inc/update-checker/autoload.php';
// 核心配置
require get_template_directory() . '/inc/theme-core.php';
// 站点配置
require get_template_directory() . '/inc/theme-setting.php';
// 文章配置
require get_template_directory() . '/inc/theme-article.php';
// 小工具配置
require get_template_directory() . '/inc/theme-widgets.php';
// 文章增强
require get_template_directory() . '/inc/theme-shortcode.php';
// 添加导航目录
require get_template_directory() . '/inc/theme-navwalker.php';
// 对象存储配置
require get_template_directory() . '/inc/theme-dogecloud.php';
// ImageX 图片服务
require get_template_directory() . '/inc/theme-volcengine.php';
// SMTP 配置
require get_template_directory() . '/inc/theme-smtp.php';