-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunctions.php
144 lines (126 loc) · 3.87 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?php
/**
*
* TacticalWP functions and definitions
*
* Set up the theme and provides some helper functions, which are used in the
* theme as custom template tags. Others are attached to action and filter
* hooks in WordPress to change core functionality.
*
* @category TacticalWP-Theme
* @package TacticalWP
* @author Tyler Kemme <[email protected]>
* @license MIT https://opensource.org/licenses/MIT
* @version 1.0.4
* @link https://github.com/tpkemme/tacticalwp-theme
* @since 1.0.0
*/
/**
* Cmb2 custom functions
*/
require_once 'library/cmb2-functions.php';
/**
* Utilities and helper functions
*/
require_once 'library/utilities.php';
/**
* Shortcodes
*/
require_once 'library/shortcode/accordion.php';
require_once 'library/shortcode/accordion-menu.php';
require_once 'library/shortcode/badge.php';
require_once 'library/shortcode/breadcrumbs.php';
require_once 'library/shortcode/button.php';
require_once 'library/shortcode/callout.php';
require_once 'library/shortcode/card.php';
require_once 'library/shortcode/cube.php';
require_once 'library/shortcode/drilldown-menu.php';
require_once 'library/shortcode/dropdown-menu.php';
require_once 'library/shortcode/dropdown-pane.php';
require_once 'library/shortcode/label.php';
require_once 'library/shortcode/modal.php';
require_once 'library/shortcode/motion.php';
require_once 'library/shortcode/progress-bar.php';
require_once 'library/shortcode/slider.php';
require_once 'library/shortcode/switch.php';
require_once 'library/shortcode/video.php';
require_once 'library/shortcode/table.php';
require_once 'library/shortcode/tabs.php';
require_once 'library/shortcode/testimonial.php';
require_once 'library/shortcode/thumbnail.php';
require_once 'library/shortcode/toggle.php';
require_once 'library/shortcode/tooltip.php';
require_once 'library/shortcode/visibility.php';
/**
* Various clean up functions
*/
require_once 'library/cleanup.php';
/**
* Required for Foundation to work properly
*/
require_once 'library/twp.php';
/**
* Format comments
*/
require_once 'library/class-twp-comments.php';
/**
* Register all navigation menus
*/
require_once 'library/navigation.php';
/**
* Add menu walkers for top-bar and off-canvas
*/
require_once 'library/class-twp-top-bar-walker.php';
require_once 'library/class-twp-mobile-walker.php';
require_once 'library/class-twp-accordion-menu-walker.php';
require_once 'library/class-twp-drilldown-menu-walker.php';
/**
* Create widget areas in sidebar and footer
*/
require_once 'library/widget-areas.php';
/**
* Return entry meta information for posts
*/
require_once 'library/entry-meta.php';
/**
* Enqueue scripts
*/
require_once 'library/enqueue-scripts.php';
/**
* Add theme support
*/
require_once 'library/theme-support.php';
/**
* Add Nav Options to Customer
*/
require_once 'library/custom-nav.php';
/**
* Change WP's sticky post class
*/
require_once 'library/sticky-posts.php';
/**
* Configure responsive image sizes
*/
require_once 'library/responsive-images.php';
/**
* User-set theme settings
*/
require_once 'library/settings/global-settings.php';
require_once 'library/settings/nav-settings.php';
require_once 'library/settings/footer-settings.php';
require_once 'library/settings/layout-settings.php';
require_once 'library/settings/typo-settings.php';
require_once 'library/settings/obj-settings.php';
require_once 'library/settings/advanced-settings.php';
require_once 'library/class-twp-theme-settings.php';
/**
* If your site requires protocol relative url's for theme assets, uncomment the line below
*/
// require_once( 'library/class-twp-protocol-relative-theme-assets.php' );
// @codingStandardsIgnoreStart
/**
* This code is for updating the theme through the Wordpress Admin panel using WP-Updates.com
*/
require_once('wp-updates-theme.php');
new WPUpdatesThemeUpdater_2050( 'http://wp-updates.com/api/2/theme', basename( get_template_directory() ) );
// @codingStandardsIgnoreEnd