-
Notifications
You must be signed in to change notification settings - Fork 1
/
functions.php
53 lines (41 loc) · 1.23 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
48
49
50
51
52
53
<?php
/**
* Implement the Core feature of theme.
*/
require get_template_directory() . '/inc/theme-core.php';
/**
* Implement the Custom Header feature.
*/
require get_template_directory() . '/inc/class/class-header.php';
/**
* Implement the Custom Header feature.
*/
require get_template_directory() . '/inc/class/class-body.php';
/**
* Implement the Post Related Hook.
*/
require get_template_directory() . '/inc/class/class-template-tags.php';
require get_template_directory() . '/inc/class/class-post-related.php';
/**
* Implement the Footer Hook.
*/
require get_template_directory() . '/inc/class/class-footer.php';
/**
* Functions which enhance the theme by hooking into WordPress.
*/
require get_template_directory() . '/inc/template-functions.php';
/**
* Implement Theme Options.
*/
require get_template_directory() . '/inc/customizer/customizer.php';
/**
* Load WooCommerce compatibility file.
*/
if ( class_exists( 'WooCommerce' ) ) {
require get_template_directory() . '/inc/woocommerce.php';
}
/**
* Implement pro features.
*/
require get_template_directory() . '/inc/admin/admin-page.php';
require get_template_directory() . '/inc/tgm/recommended-plugins.php';