-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathfunctions.php
55 lines (47 loc) · 1.83 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
/**
* Zoner Theme functions and definitions
*
* Set up the theme and provides some helper functions, which are used in the
* theme as custom template tags. Others are attached to action and filter
* hooks in WordPress to change core functionality.
*
* When using a child theme 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.
*
* @link http://codex.wordpress.org/Theme_Development
* @link http://codex.wordpress.org/Child_Themes
*
* Functions that are not pluggable (not wrapped in function_exists()) are
* instead attached to a filter or action hook.
*
* For more information on hooks, actions, and filters,
* @link http://codex.wordpress.org/Plugin_API
*
* @package WordPress
* @subpackage Zoner_Theme
* @since Zoner Theme 1.0
*/
/**
* Set up the content width value based on the theme's design.
*
* @see zoner_content_width()
*
* @since Zoner Theme 1.0
*/
locate_template('/includes/admin/zoner-options/admin-config.php', true);
locate_template('/includes/theme/theme-comments.php', true);
locate_template('/includes/admin/libs/execute-libs.php', true);
locate_template('/includes/theme/theme-function.php', true);
locate_template('/includes/theme/theme-inlinestyles.php', true);
locate_template('/includes/theme/theme-sidebars.php', true);
locate_template('/includes/theme/extensions/template-tags.php', true);
locate_template('/includes/theme/theme-hooks.php', true);
if (is_admin()) {
// Sending statistic to fruitfulcode
require get_template_directory() . '/vendor/fruitful-stats/send-statistics.php';
$FF_Zoner_Lite_Stats = new FF_Zoner_Lite_Stats(__FILE__);
$FF_Zoner_Lite_Stats->dispatch();
}