-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfunctions.php
29 lines (24 loc) · 960 Bytes
/
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
<?php
/**
* WIMP functions and definitions
*
* When using a child theme (see http://codex.wordpress.org/Theme_Development and
* http://codex.wordpress.org/Child_Themes), you can override certain functions
* (those wrapped in a function_exists() call) by defining them first in your child theme's
* functions.php file. The child theme's functions.php file is included before the parent
* theme's file, so the child theme functions would be used.
*
* @package WIMP
* @since 0.1.0
*/
// Useful global constants
define( 'WIMP_VERSION', '0.1.0' );
define( 'WIMP_URL', get_stylesheet_directory_uri() );
define( 'WIMP_TEMPLATE_URL', get_template_directory_uri() );
define( 'WIMP_PATH', get_template_directory() . '/' );
define( 'WIMP_INC', WIMP_PATH . 'includes/' );
// Include compartmentalized functions
require_once WIMP_INC . 'functions/core.php';
// Include lib classes
// Run the setup functions
WIMP\Core\setup();