-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions.php
More file actions
executable file
·69 lines (60 loc) · 2.73 KB
/
functions.php
File metadata and controls
executable file
·69 lines (60 loc) · 2.73 KB
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
<?php
/************************************************************************
PROJECT NAME: Manifest Foundation
START DATE: 2015/01/02
Version: 2.1.6
GENERAL CONTACT: Manifest Creative
DESIGNER: Philip Downer
FRONT-END PROGRAMMER: Philip Downer
BACK-END PROGRAMMER:Philip Downer
************************************************************************/
/***********************************************************************
* !CONSTANTS
/***********************************************************************/
define('INCLUDES_DIR', get_template_directory().'/inc');
define('ASSETS_DIR', get_template_directory_uri().'/assets');
define('IMG_DIR', get_template_directory_uri().'/assets/images');
define('IMG_PATH', get_template_directory().'/assets/images');
define('CSS_DIR', get_template_directory_uri().'/css');
define('JS_DIR', get_template_directory_uri().'/js');
define('BOWER_DIR', get_template_directory_uri().'/bower_components');
define('BOWER_PATH', get_template_directory().'/bower_components');
define('TEXTDOMAIN', 'manifestFoundation');
/***********************************************************************
* !REQUIRED PHP FILES
/***********************************************************************/
/** VENDOR FILES - COMPOSER AUTOLOAD **/
require_once(INCLUDES_DIR.'/vendor/autoload.php');
/** GLOBAL FRAMEWORK **/
require_once(INCLUDES_DIR.'/global.php');
require_once(INCLUDES_DIR.'/theme-setup.php');
require_once(INCLUDES_DIR.'/sidebars.php');
require_once(INCLUDES_DIR.'/shortcodes.php');
require_once(INCLUDES_DIR.'/admin.php');
require_once(INCLUDES_DIR.'/security.php');
require_once(INCLUDES_DIR.'/debug/dump.php');
/** FOUNDATION FRAMEWORK **/
require_once(INCLUDES_DIR.'/foundation.php');
require_once(INCLUDES_DIR.'/navigation.php');
/** SCRIPTS **/
require_once(INCLUDES_DIR.'/enqueue-scripts.php');
/** MANIFEST FRAMEWORK **/
require_once(INCLUDES_DIR.'/lib/c_ManifestFramework.php');
require_once(INCLUDES_DIR.'/lib/c_ManifestComments.php');
require_once(INCLUDES_DIR.'/lib/c_PageBuilder.php');
require_once(INCLUDES_DIR.'/lib/c_Downloads.php');
require_once(INCLUDES_DIR.'/lib/c_Form.php');
require_once(INCLUDES_DIR.'/lib/c_Mail.php');
require_once(INCLUDES_DIR.'/lib/c_Testimonial.php');
/** CUSTOM POST TYPES & TAXONOMIES **/
//require_once(INCLUDES_DIR.'/post-types/cpt-template.php'); //A quick setup template for custom post types & taxonomies
require_once(INCLUDES_DIR.'/post-types/cpt-projects.php');
require_once(INCLUDES_DIR.'/post-types/cpt-testimonials.php');
require_once(INCLUDES_DIR.'/post-types/cpt-downloads.php');
/** WIDGETS **/
require_once(INCLUDES_DIR.'/widgets/widget-about.php');
/**
CLIENT LEVEL CUSTOMIZATIONS
~ Includes menu positioning and default sidebar widgets
**/
require_once(INCLUDES_DIR.'/customizations.php');