-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathfunctions.php
54 lines (39 loc) · 1.11 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
<?php
namespace ReCHallenge;
define("RECHALLENGE_URI", get_stylesheet_directory_uri());
// Load required classes
require_once("lib/Assets.php");
require_once("lib/Branding.php");
require_once("lib/Cleanup.php");
require_once("lib/Foundation.php");
require_once("lib/Menu.php");
require_once("lib/Misc.php");
require_once("lib/Query.php");
require_once("lib/SEO.php");
require_once("lib/Settings.php");
require_once("lib/Setup.php");
require_once("lib/Sidebars.php");
// Clean up WordPress
Cleanup::register_hooks();
// Register redirections
Query::register_hooks();
// Setup theme
Setup::register_hooks();
// Register menus
Menu::register_hooks();
// Register sidebars / widget areas
Sidebars::register_hooks();
// Load Foundation 6 compatibility adjustments
Foundation::register_hooks();
// Load scripts and scripts
Assets::register_hooks();
// Load Yoast SEO modifications
SEO::register_hooks();
// Miscellaneous modifications
Misc::register_hooks();
// Load W3Cie branding
Branding::register_hooks();
// Create admin settings page
Settings::register_hooks();
// Helper functions
require_once("lib/functions.php");