-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions.php
More file actions
40 lines (31 loc) · 1.05 KB
/
functions.php
File metadata and controls
40 lines (31 loc) · 1.05 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
<?php
define( 'ONETONE_THEME_BASE_URL', get_template_directory_uri());
define( 'ONETONE_OPTIONS_FRAMEWORK', get_template_directory().'/admin/' );
define( 'ONETONE_OPTIONS_FRAMEWORK_URI', ONETONE_THEME_BASE_URL. '/admin/');
define('ONETONE_OPTIONS_PREFIXED' ,'onetone_');
/**
* Required: include options framework.
**/
load_template( trailingslashit( get_template_directory() ) . 'admin/options-framework.php' );
/**
* Mobile Detect Library
**/
if(!class_exists("Mobile_Detect")){
load_template( trailingslashit( get_template_directory() ) . 'includes/Mobile_Detect.php' );
}
/**
* Theme setup
**/
load_template( trailingslashit( get_template_directory() ) . 'includes/theme-setup.php' );
/**
* Theme Functions
**/
load_template( trailingslashit( get_template_directory() ) . 'includes/theme-functions.php' );
/**
* Theme breadcrumb
**/
load_template( trailingslashit( get_template_directory() ) . 'includes/class-breadcrumb.php');
/**
* Theme widget
**/
load_template( trailingslashit( get_template_directory() ) . 'includes/theme-widget.php' );