-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfunctions.php
55 lines (46 loc) · 1.26 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
54
55
<?php
/**
* castpress functions and definitions
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package castpress
*/
if ( ! defined( 'CASTPRESS_VERSION' ) ) {
// Replace the version number of the theme on each release.
$castpress_theme_data = wp_get_theme();
define( 'CASTPRESS_VERSION', $castpress_theme_data->get( 'Version' ));
}
/**
* Theme setup
*/
require get_template_directory() . '/inc/setup.php';
/**
* Implement the Custom Header feature.
*/
require get_template_directory() . '/inc/custom-header.php';
/**
* Nav menu walker
*/
require get_template_directory() . '/classes/class_castpress_walker_nav_menu.php';
/**
* Comments walker
*/
require get_template_directory() . '/classes/class_castpress_walker_comment.php';
/**
* Custom template tags for this theme.
*/
require get_template_directory() . '/inc/template-tags.php';
/**
* Functions which enhance the theme by hooking into WordPress.
*/
require get_template_directory() . '/inc/template-functions.php';
/**
* Customizer additions.
*/
require get_template_directory() . '/inc/customizer.php';
/**
* Load TGMPA file
*/
require_once get_template_directory() . '/inc/tgmpa/class-tgm-plugin-activation.php';
require_once get_template_directory() . '/inc/tgmpa/tgmpa-config.php';