<?php
/**
 * @version    $Id$
 * @package    IT_Theme_Framework
 * @author     InnoThemes Team <support@innothemes.com>
 * @copyright  Copyright (C) 2012 InnoThemes.com. All Rights Reserved.
 * @license    GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Websites: http://www.innothemes.com
 */

// Whether to use Ajax to load content for individual theme option tab or load content for all theme option tabs in one single request
define( 'IT_USE_AJAX', false );

// Register class auto-loader
include_once get_template_directory() . '/libraries/loader.php';

// Alter theme options
IT_Theme_Options::remove_fields(
	array(
		'header_background_type', 'header_background_solid_color', 'header_background_gradient_color',
		'header_background_pattern', 'header_background_pattern_repeat',
		'header_background_image', 'header_background_image_stretch', 'header_background_image_position', 'header_background_image_scroll',
	)
);

IT_Theme_Options::replace_fields(
	array(
		'page_layout' => array(
			'default' => 'full_width',
		),
		'header_background_solid_color' => array(
			'default' => '#f2f2f2',
		),
		'body_font_attributes' => array(
			'default' => array(
				'font-size'    => 12,
				'font-unit'    => 'px',
				'text-color'   => '#727272',
			),
		),
		'main_menu_font_attributes' => array(
			'default' => array(
				'font-size'    => 12,
				'font-unit'    => 'px',
				'text-color'   => '#727272',
			),
		),
		'sub_menu_font_attributes' => array(
			'default' => array(
				'font-size'    => 12,
				'font-unit'    => 'px',
				'text-color'   => '#727272',
			),
		),
		'responsive_menu_type' => array(
			'type'  => 'hidden',
			'value' => 'simple',
		),
		'logo_image' => array(
			'default' => IT_THEME_URI . '/assets/innothemes/air/img/logo.png',
		),
		'blog_sidebar_layout' => array(
			'default' => 'main-content,right-sidebar',
		),
	)
);

// Register custom post types
IT_Air_Init_Post_Type::hook();

// Initialize InnoThemes framework
IT_Init_Theme::hook();