forked from cyberchimps/responsive-mobile
/
functions.php
103 lines (86 loc) · 2.44 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?php
/**
* Main Function
*
* Load functions and classes
*
* @package responsive_mobile
* @license license.txt
* @copyright 2014 CyberChimps Inc
* @since 0.0.1
*
* Please do not edit this file. This file is part of the responsive_mobile Framework and all modifications
* should be made in a child theme.
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
$template_directory = get_template_directory();
/**
* Basic theme functionality
*/
require $template_directory . '/includes/functions.php';
/**
* Theme Options
*/
require $template_directory . '/libraries/class-responsive-options.php';
require $template_directory . '/includes/functions-theme-options.php';
require $template_directory . '/includes/functions-theme-options-page.php';
/**
* Meta Box Options
*/
require $template_directory . '/libraries/class-meta-box.php';
require $template_directory . '/includes/functions-meta-box.php';
/**
* Custom template tags for this theme.
*/
require $template_directory . '/includes/functions-template-tags.php';
/**
* Support THA Theme hooks through Responsives own functions.
*/
require $template_directory . '/core/tha-theme-hooks.php';
require $template_directory . '/includes/responsive-hooks.php';
/**
* Theme Upsell
*/
require $template_directory . '/core/functions-theme-upsell.php';
/**
* Create header items that hook into header.php
*/
require $template_directory . '/includes/functions-header.php';
/**
* Implement the Custom Header feature.
*/
require $template_directory . '/includes/functions-custom-header.php';
/**
* Custom functions that act independently to the theme templates.
*/
require $template_directory . '/includes/functions-extras.php';
require $template_directory . '/includes/functions-extentions.php';
require $template_directory . '/includes/functions-layout.php';
require $template_directory . '/includes/functions-front.php';
/**
* Register Menus
*/
require $template_directory . '/includes/functions-menu.php';
/**
* Register Sidebars
*/
require $template_directory . '/includes/functions-sidebar.php';
/**
* Plugin compatibility
*/
require $template_directory . '/includes/functions-plugins.php';
/**
* Theme Update
*/
require $template_directory . '/includes/functions-update.php';
/**
* Plugin dependency
*/
require $template_directory . '/core/functions-install.php';
/**
* Admin functionality
*/
require $template_directory . '/core/functions-admin.php';