forked from friend-nicen/theme-document
-
Notifications
You must be signed in to change notification settings - Fork 0
/
functions.php
22 lines (17 loc) · 956 Bytes
/
functions.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/*
*
* 主题初始化
* @author 友人a丶
* @date 2022-06-06
* @life,加油
* */
include_once get_template_directory() . '/include/config.php'; //加载一些通用方法
include_once get_template_directory() . '/include/functions/common.php'; //加载一些通用方法
include_once get_template_directory() . '/include/response/response.php'; //处理前端ajax请求
include_once get_template_directory() . '/include/themes/theme.php'; //主题钩子
include_once get_template_directory() . '/include/admin/admin.php'; //后台钩子
include_once get_template_directory() . '/include/widget/widget.php';//加载小部件
include_once get_template_directory() . '/include/functions/smtp.php';//加载smtp
include_once get_template_directory() . '/include/class/CommentsWalker.php';//自定义评论输出
include_once get_template_directory() . '/include/functions/initialize.php';//覆盖wordpress默认设置