-
Notifications
You must be signed in to change notification settings - Fork 6
/
functions.php
50 lines (38 loc) · 1.61 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
<?php
define( 'UCFWP_THEME_DIR', trailingslashit( get_template_directory() ) );
// Deprecated functions
include_once UCFWP_THEME_DIR . 'includes/deprecated.php';
// Activation checks
include_once UCFWP_THEME_DIR . 'includes/activate.php';
// Theme foundation
include_once UCFWP_THEME_DIR . 'includes/utilities.php';
include_once UCFWP_THEME_DIR . 'includes/config.php';
include_once UCFWP_THEME_DIR . 'includes/meta.php';
include_once UCFWP_THEME_DIR . 'includes/galleries.php';
include_once UCFWP_THEME_DIR . 'includes/media-backgrounds.php';
include_once UCFWP_THEME_DIR . 'includes/nav-functions.php';
include_once UCFWP_THEME_DIR . 'includes/header-functions.php';
include_once UCFWP_THEME_DIR . 'includes/footer-functions.php';
include_once UCFWP_THEME_DIR . 'includes/pagination-functions.php';
// Plugin extras/overrides
if ( class_exists( 'UCF_People_PostType' ) ) {
include_once UCFWP_THEME_DIR . 'includes/person-functions.php';
}
if ( class_exists( 'UCF_Section_Common' ) ) {
include_once UCFWP_THEME_DIR . 'includes/section-functions.php';
}
if ( class_exists( 'UCF_Alert_Common' ) ) {
include_once UCFWP_THEME_DIR . 'includes/ucf-alert-functions.php';
}
if ( class_exists( 'UCF_Pegasus_List_Common' ) ) {
include_once UCFWP_THEME_DIR . 'includes/pegasus-list-functions.php';
}
if ( class_exists( 'UCF_Events_Common' ) ) {
include_once UCFWP_THEME_DIR . 'includes/events-functions.php';
}
if ( class_exists( 'UCF_Acad_Cal_Common' ) ) {
include_once UCFWP_THEME_DIR . 'includes/acad-cal-functions.php';
}
if ( class_exists( 'UCF_Post_List_Common' ) ) {
include_once UCFWP_THEME_DIR . 'includes/post-list-functions.php';
}