1
0
mirror of https://github.com/ascribe/wp-theme synced 2024-12-22 17:23:55 +01:00
wp-theme/functions.php

29 lines
968 B
PHP
Raw Normal View History

2015-09-17 01:26:48 +02:00
<?php
/**
2015-09-17 01:50:43 +02:00
* ascribe functions and definitions
2015-09-17 01:26:48 +02:00
*
* 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.
*
2015-09-17 01:50:43 +02:00
* @package ascribe
2015-09-17 01:26:48 +02:00
* @since 0.1.0
*/
// Useful global constants
define( 'TTL_VERSION', '0.1.0' );
define( 'TTL_URL', get_stylesheet_directory_uri() );
define( 'TTL_TEMPLATE_URL', get_template_directory_uri() );
define( 'TTL_PATH', get_template_directory() . '/' );
define( 'TTL_INC', TTL_PATH . 'includes/' );
// Include compartmentalized functions
require_once TTL_INC . 'functions/core.php';
// Include lib classes
// Run the setup functions
2015-09-17 01:50:43 +02:00
TenUp\ascribe\Core\setup();