-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions.php
More file actions
42 lines (33 loc) · 1.14 KB
/
functions.php
File metadata and controls
42 lines (33 loc) · 1.14 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
<?php
/**
* Base loader and theme initialization
*
* @author Istvan Krucsanyica <https://github.com/istvankrucsanyica>
* @copyright (c) 2017, GPLv2
* @package BaseWPFunctions
* @version 1.0
* @since 1.0
*/
// Define variables
define( 'TEXTDOMAIN', '' );
define( 'THEME_DIR', get_template_directory() );
define( 'THEME_URL', get_template_directory_uri() );
define( 'DEVELOPER_NAME', '' );
define( 'GA_CODE', '' );
define( 'USE_EDITOR_STYLE', FALSE );
// Include functions
if( is_admin() ) : include( 'inc/notifications-functions.php' ); endif;
if( is_admin() ) : include( 'inc/admin-functions.php' ); endif;
if( is_admin() ) : include( 'inc/editor-functions.php' ); endif;
include( 'inc/theme-functions.php' );
include( 'inc/load-script-css.php' );
include( 'inc/menu-functions.php' );
include( 'inc/ga-function.php' );
include( 'inc/yoast-functions.php' );
include( 'inc/emoji-functions.php' );
include( 'inc/meta-functions.php' );
include( 'inc/media-functions.php' );
include( 'inc/json-functions.php' );
include( 'inc/core-functions.php' );
include( 'inc/shortcode-functions.php' );
?>