-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunctions.php
52 lines (41 loc) · 1.08 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
<?php
$NPM_PACKAGE = file_get_contents(get_template_directory() . '/package.json');
$NPM_PACKAGE = json_decode($NPM_PACKAGE, true);
$THEME_VERSION = $NPM_PACKAGE['version'];
define( 'THEME_VERSION', $THEME_VERSION );
/**
* Load tweaks
*/
require get_template_directory() . '/inc/tweaks.php';
/**
* Load CSS and JavaScript Enqueues
*/
require get_template_directory() . '/inc/enqueues.php';
/**
* Load menus
*/
require get_template_directory() . '/inc/menus.php';
/**
* Load custom post types
*/
require get_template_directory() . '/inc/custom-post-types.php';
/**
* Load widgets
*/
require get_template_directory() . '/inc/widgets.php';
/**
* Load thumbnail support and sizes
*/
require get_template_directory() . '/inc/thumbnails.php';
/**
* Load shortcodes
*/
require get_template_directory() . '/inc/shortcodes.php';
/**
* Load Responsive Media Options
*/
require get_template_directory() . '/inc/responsive-media.php';
/**
* Load ACF Options
*/
require get_template_directory() . '/inc/acf.php';