-
Notifications
You must be signed in to change notification settings - Fork 0
/
functions.php
36 lines (28 loc) · 1.61 KB
/
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
30
31
32
33
34
35
36
<?php
/*
===================================================================================================
WARNING! DO NOT EDIT THIS FILE OR ANY TEMPLATE FILES IN THIS THEME!
To make it easy to update your theme, you should not edit this file. Instead, you should create a
Child Theme first. This will ensure your template changes are not lost when updating the theme.
You can learn more about creating Child Themes here: http://codex.wordpress.org/Child_Themes
You have been warned! :)
===================================================================================================
*/
if ( !empty( $_SERVER['SCRIPT_FILENAME'] ) && 'functions.php' == basename( $_SERVER['SCRIPT_FILENAME'] ) ) {
die( '<h1>Access Denied</h1>' );
}
/*---------------------------------------------------------------------------------------*/
/* Start ChurchThemes Functions - Please DO NOT edit this section! :) */
/*---------------------------------------------------------------------------------------*/
// Define theme location for bundled plugins
if ( !defined( 'WP_THEME_URL' ) ) {
define( 'WP_THEME_URL', get_template_directory_uri() );
}
if ( !defined( 'WP_THEME_DIR' ) ) {
define( 'WP_THEME_DIR', get_template_directory() );
}
require_once( get_template_directory() . '/config.php' );
require_once( get_template_directory() . '/lib/bootstrap.php' );
/*---------------------------------------------------------------------------------------*/
/* End ChurchThemes Functions - Thank you for your cooperation! :) */
/*---------------------------------------------------------------------------------------*/