-
Notifications
You must be signed in to change notification settings - Fork 118
/
functions.php
24 lines (20 loc) · 1.36 KB
/
functions.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
defined( 'ABSPATH' ) || exit;
$themedata = wp_get_theme();$themeversion = $themedata['Version'];define('THEME_VERSION', $themeversion);
define( 'OPTIONS_FRAMEWORK_DIRECTORY', get_template_directory_uri() . '/module/panel/' );
require_once dirname( __FILE__ ) . '/module/panel/options-framework.php';
require_once get_template_directory() . '/options.php';
require_once dirname( __FILE__ ) . '/module/panel/options-framework-js.php';
add_action( 'optionsframework_custom_scripts', 'optionsframework_custom_scripts' );
require_once get_stylesheet_directory() . '/module/core/global.php';
require_once get_stylesheet_directory() . '/module/core/article.php';
require_once get_stylesheet_directory() . '/module/core/comments.php';
require_once get_stylesheet_directory() . '/module/core/admin.php';
require_once get_stylesheet_directory() . '/module/core/gravatar.php';
require_once get_stylesheet_directory() . '/module/core/mail.php';
require_once get_stylesheet_directory() . '/module/core/user.php';
require_once get_stylesheet_directory() . '/module/core/shortcode.php';
require_once get_stylesheet_directory() . '/module/core/optimize.php';
require_once get_stylesheet_directory() . '/module/core/navwalker.php';
require_once get_stylesheet_directory() . '/module/core/bot.php';
if( get_boxmoe('no_categoty') ) require_once get_stylesheet_directory() . '/module/core/nocategory.php';