-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions.php
More file actions
32 lines (28 loc) · 890 Bytes
/
functions.php
File metadata and controls
32 lines (28 loc) · 890 Bytes
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
<?php
/**
* Chipmunk: Theme specific functionalities
*
* Author: Piotr Kulpinski
* Author URI: https://kulpinski.dev
*
* @package WordPress
* @subpackage Chipmunk
*/
define('THEME_TITLE', 'Chipmunk');
define('THEME_SLUG', 'chipmunk');
define('THEME_ITEM_SLUG', 'chipmunk-theme');
define('THEME_TEMPLATE_URI', get_template_directory_uri());
define('THEME_TEMPLATE_DIR', get_template_directory());
define('THEME_SHOP_URL', 'https://chipmunktheme.com');
define('THEME_DIST_PATH', 'static/dist/');
define('THEME_ASSETS_PATH', 'assets/');
define('THEME_TEMPLATES_PATH', 'templates/');
define('THEME_MANIFEST_PATH', THEME_DIST_PATH . 'manifest.json');
/*
* Composer autoload
*/
require_once THEME_TEMPLATE_DIR . '/vendor/autoload.php';
/*
* Initialize theme setup
*/
new Chipmunk\Setup();