File "functions.php"
Full Path: /var/www/bvnghean.vn/save_bvnghean.vn/wp-content/themes/publisher/functions.php
File size: 865 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
$template_directory = get_template_directory() . '/';
// Loads the loader of oculus if not included before
require $template_directory . 'includes/libs/better-framework/oculus/better-framework-oculus-loader.php';
// Includes BF loader if not included before
require $template_directory . 'includes/libs/better-framework/init.php';
// handy functions and overrides
include $template_directory . 'includes/functions.php';
// Includes core of theme
include $template_directory . 'includes/libs/bs-theme-core/init.php';
// do config
if ( is_admin() ) {
include $template_directory . 'includes/pages/init.php';
}
// Registers and prepare all stuffs about BF that is used in theme
include $template_directory . 'includes/publisher-setup.php';
new Publisher_Setup();
// Fire up Theme
include $template_directory . 'includes/publisher.php';
new Publisher();