<?php

/*
 *
 * Require the framework class before doing anything else, so we can use the defined urls and dirs
 * Also if running on windows you may have url problems, which can be fixed by defining the framework url first
 *
 */
//define('NHP_OPTIONS_URL', site_url('path the options folder'));
if (!class_exists('NHP_Options')) {
    require_once( dirname(__FILE__) . '/options/noptions.php' );
}

defined('WEBNUS_TEXT_DOMAIN') or define('WEBNUS_TEXT_DOMAIN', 'WEBNUS_TEXT_DOMAIN');


/*
 *
 * Custom function for filtering the sections array given by theme, good for child themes to override or add to the sections.
 * Simply include this function in the child themes functions.php file.
 *
 * NOTE: the defined constansts for urls, and dir will NOT be available at this point in a child theme, so you must use
 * get_template_directory_uri() if you want to use any of the built in icons
 *
 */

function add_another_section($sections) {

    //$sections = array();
    $sections[] = array(
        'title' => __('A Section added by hook', WEBNUS_TEXT_DOMAIN),
        'desc' => __('<p class="description">This is a section created by adding a filter to the sections array, great to allow child themes, to add/remove sections from the options.</p>', WEBNUS_TEXT_DOMAIN),
        //all the glyphicons are included in the options folder, so you can hook into them, or link to your own custom ones.
        //You dont have to though, leave it blank for default.
        'icon' => trailingslashit(get_template_directory_uri()) . 'options/img/glyphicons/glyphicons_062_attach.png',
        //Lets leave this as a blank section, no options just some intro text set above.
        'fields' => array()
    );

    return $sections;
}

//function
//add_filter('nhp-opts-sections-twenty_eleven', 'add_another_section');


/*
 *
 * Custom function for filtering the args array given by theme, good for child themes to override or add to the args array.
 *
 */

function change_framework_args($args) {

    //$args['dev_mode'] = false;

    return $args;
}

//function
//add_filter('nhp-opts-args-twenty_eleven', 'change_framework_args');









/*
 * This is the meat of creating the optons page
 *
 * Override some of the default values, uncomment the args and change the values
 * - no $args are required, but there there to be over ridden if needed.
 *
 *
 */

function setup_framework_options() {
    $args = array();



    $theme_dir = get_template_directory_uri() . '/';
    $theme_img_dir = $theme_dir . 'images/';
    $theme_img_bg_dir = $theme_img_dir . 'bgs/';

    //Set it to dev mode to view the class settings/info in the form - default is false
    $args['dev_mode'] = false;

    //google api key MUST BE DEFINED IF YOU WANT TO USE GOOGLE WEBFONTS
    //$args['google_api_key'] = '***';
    //Remove the default stylesheet? make sure you enqueue another one all the page will look whack!
    //$args['stylesheet_override'] = true;
    //Add HTML before the form
    $args['intro_text'] = __('<p>webnus theme options. all about theme option which can be edited is here.</p>', WEBNUS_TEXT_DOMAIN);

    //Setup custom links in the footer for share icons
    $args['share_icons']['twitter'] = null;

    /* dESiGNERz-CREW.iNFO for PRO users - array(
      'link' => 'http://twitter.com/webnus',
      'title' => 'Folow me on Twitter',
      'img' => NHP_OPTIONS_URL.'img/glyphicons/glyphicons_322_twitter.png'
      ); */
    $args['share_icons']['linked_in'] = null;

    /* dESiGNERz-CREW.iNFO for PRO users - array(
      'link' => 'http://facebook.com/webnus',
      'title' => 'Find me on LinkedIn',
      'img' => NHP_OPTIONS_URL.'img/glyphicons/glyphicons_320_facebook.png'
      ); */

    //Choose to disable the import/export feature
    $args['show_import_export'] = true;

    //Choose a custom option name for your theme options, the default is the theme name in lowercase with spaces replaced by underscores
    $args['opt_name'] = 'webnus_options';

    //Custom menu icon
    //$args['menu_icon'] = '';
    //Custom menu title for options page - default is "Options"
    $args['menu_title'] = __('Theme Options', WEBNUS_TEXT_DOMAIN);

    //Custom Page Title for options page - default is "Options"
    $args['page_title'] = __('Theme Options', WEBNUS_TEXT_DOMAIN);

    //Custom page slug for options page (wp-admin/themes.php?page=***) - default is "nhp_theme_options"
    $args['page_slug'] = 'webnus_theme_options';

    //Custom page capability - default is set to "manage_options"
    //$args['page_cap'] = 'manage_options';
    //page type - "menu" (adds a top menu section) or "submenu" (adds a submenu) - default is set to "menu"
    //$args['page_type'] = 'submenu';
    //parent menu - default is set to "themes.php" (Appearance)
    //the list of available parent menus is available here: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
    //$args['page_parent'] = 'themes.php';
    //custom page location - default 100 - must be unique or will override other items
    $args['page_position'] = 250;

    //Custom page icon class (used to override the page icon next to heading)
    //$args['page_icon'] = 'icon-themes';
    //Want to disable the sections showing as a submenu in the admin? uncomment this line
    //$args['allow_sub_menu'] = false;
    //Set ANY custom page help tabs - displayed using the new help tab API, show in order of definition
    /* dESiGNERz-CREW.iNFO for PRO users - $args['help_tabs'][] = array(
      'id' => 'nhp-opts-1',
      'title' => __('Theme Information 1', WEBNUS_TEXT_DOMAIN),
      'content' => __('<p>This is the tab content, HTML is allowed.</p>', WEBNUS_TEXT_DOMAIN)
      );
      $args['help_tabs'][] = array(
      'id' => 'nhp-opts-2',
      'title' => __('Theme Information 2', WEBNUS_TEXT_DOMAIN),
      'content' => __('<p>This is the tab content, HTML is allowed.</p>', WEBNUS_TEXT_DOMAIN)
      );
     */
    //Set the Help Sidebar for the options page - no sidebar by default
    //$args['help_sidebar'] = __('<p>This is the sidebar content, HTML is allowed.</p>', WEBNUS_TEXT_DOMAIN);

	
	$categories = array();
	$categories = get_categories();
	$category_slug_array = array('');
	foreach($categories as $category){$category_slug_array[] = $category->slug;}
	

    $args['show_theme_info'] = false;

    $sections = array();

    $sections[] = array(
        'title' => __('General', WEBNUS_TEXT_DOMAIN),
        'desc' => __('<p class="description">Setup the general options of theme.</p>', WEBNUS_TEXT_DOMAIN),
        'icon' => NHP_OPTIONS_URL . 'img/admin-general.png',
        'fields' => array(
		array(
                'id' => 'webnus_template_select',
                'type' => 'select',
                'title' => __('Template', WEBNUS_TEXT_DOMAIN),
                'desc' => 'Select Template',
                'options' => array('sacramento' => 'Sacramento', 'malibu' => 'Malibu', 'berkeley' => 'Berkeley', 'riverside' => 'Riverside', 'irvine' => 'Irvine'),
				'std' => 'sacramento'
			),
			
		array(
                'id' => 'webnus_enable_responsive',
                'type' => 'button_set',
                'title' => __('Responsive', WEBNUS_TEXT_DOMAIN),
                'desc' => 'Enable/Disable Responsive',
                'options' => array('1' => 'Enable', '0' => 'Disable'),
                'std' => '1'
            ),
			
		array(
            'id'        => 'webnus_css_minifier',
            'type'      => 'button_set',
            'title'     => __('CSS Minifyer', WEBNUS_TEXT_DOMAIN),
            'options'   => array('1' => 'Enable', '0' => 'Disable'),
			),
		
            array(
                'id' => 'webnus_background_layout',
                'type' => 'button_set',
                'title' => __('Layout', WEBNUS_TEXT_DOMAIN),
                'desc' => 'Boxed or wide layout?',
                'options' => array('' => 'Wide', 'boxed-wrap' => 'Boxed'),
                'std' => ''
            ),

			
			array(
                'id' => 'webnus_container_width',
                'type' => 'text',
                'title' => __('Container max-with', WEBNUS_TEXT_DOMAIN),
				'desc' => 'Grid Max Size',
            ),
			
			
            array(
                'id' => 'webnus_favicon',
                'type' => 'upload',
                'title' => __('Custom Favicon', WEBNUS_TEXT_DOMAIN),
                'desc' => __('An ico image that will represent your website\'s favicon (16px x 16px)', WEBNUS_TEXT_DOMAIN),
            ),
            array(
                'id' => 'webnus_apple_iphone_icon',
                'type' => 'upload',
                'title' => __('Apple iPhone Icon', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Icon for Apple iPhone (57px x 57px)', WEBNUS_TEXT_DOMAIN),
            ),
            array(
                'id' => 'webnus_apple_ipad_icon',
                'type' => 'upload',
                'title' => __('Apple iPad Icon', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Icon for Apple iPad (72px x 72px)', WEBNUS_TEXT_DOMAIN),
            ),
			array(
                'id' => 'webnus_allow_comments_on_page',
                'type' => 'checkbox',
                'title' => __('Allow Comments On Pages', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Allow comments on regular pages.', WEBNUS_TEXT_DOMAIN),
            ),
            array(
                'id' => 'webnus_space_before_head',
                'type' => 'textarea',
                'title' => __('Space Before &lt;/head&gt;', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Add code before the &lt;/head&gt; tag.', WEBNUS_TEXT_DOMAIN),
            ),
            array(
                'id' => 'webnus_space_before_body',
                'type' => 'textarea',
                'title' => __('Space Before &lt;/body&gt;', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Add code before the &lt;/body&gt; tag.', WEBNUS_TEXT_DOMAIN),
            ),
            array(
                'id' => 'webnus_recaptcha_site_key',
                'type' => 'text',
                'title' => __('reCaptcha Site key', WEBNUS_TEXT_DOMAIN),
                'desc' => __('<p class="description">Register your website and get Secret Key.Very first thing you need to do is register your website on Google recaptcha to do that click <a href="https://www.google.com/recaptcha/admin#list" target="_blank">here</a>.</p>', WEBNUS_TEXT_DOMAIN),
            ),
            array(
                'id' => 'webnus_recaptcha_secret_key',
                'type' => 'text',
                'title' => __('reCaptcha Secret key', WEBNUS_TEXT_DOMAIN),
                'desc' => '',
            ),
           array(
                'id' => 'webnus_admin_login_logo',
                'type' => 'upload',
                'title' => __('Admin Login Logo', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Please choose an image file for admin login page logo.', WEBNUS_TEXT_DOMAIN),
            ),	 
            array(
                'id' => 'webnus_toggle_toparea_enable',
                'type' => 'button_set',
                'title' => __('Toggle Top Area', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '0'
            ),
           array(
                'id' => 'webnus_enable_breadcrumbs',
                'type' => 'button_set',
                'title' => __('Breadcrumbs', WEBNUS_TEXT_DOMAIN),
                'desc' => 'Show or Hide breadcrubs in page header',
                'options' => array('0' => 'Hide', '1' => 'Show'),
                'std' => '1'
            ),
			
			array(
                'id' => 'webnus_enable_livesearch',
                'type' => 'button_set',
                'title' => __('Live Search', WEBNUS_TEXT_DOMAIN),
                'desc' => 'Enable Live Search in Search Forms',
                'options' => array('0' => 'Disable', '1' => 'Enable'),
                'std' => '1'
            ),

        )
    );

    $sections[] = array(
        'icon' => NHP_OPTIONS_URL . 'img/admin-header.png',
        'title' => __('Header Options', WEBNUS_TEXT_DOMAIN),
        'fields' => array(
            array(
                'id' => 'webnus_logo',
                'type' => 'upload',
                'title' => __('Logo', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Please choose an image file for your logo.<br/> For Retina displays please add Image in large size and set custom width.', WEBNUS_TEXT_DOMAIN),
            ),
            array(
                'id' => 'webnus_logo_width',
                'type' => 'text',
                'title' => __('Logo width', WEBNUS_TEXT_DOMAIN),
                'std' => '150'
            ),

            array(
                'id' => 'webnus_transparent_logo',
                'type' => 'upload',
                'title' => __('Transparent header logo', WEBNUS_TEXT_DOMAIN),
                
            ),
			 array(
                'id' => 'webnus_transparent_logo_width',
                'type' => 'text',
                'title' => __('Transparent header logo width', WEBNUS_TEXT_DOMAIN),
                'std' => '150'
            ),
            array(
                'id' => 'webnus_sticky_logo',
                'type' => 'upload',
                'title' => __('Sticky header logo', WEBNUS_TEXT_DOMAIN),
                
            ),
			 array(
                'id' => 'webnus_sticky_logo_width',
                'type' => 'text',
                'title' => __('Sticky header logo width', WEBNUS_TEXT_DOMAIN),
                'std' => '60'
            ),
			 
			array(
                'id' => 'webnus_header_padding_top',
                'type' => 'text',
                'title' => __('Header padding-top', WEBNUS_TEXT_DOMAIN),
            ),
			
			array(
                'id' => 'webnus_header_padding_bottom',
                'type' => 'text',
                'title' => __('Header padding-bottom', WEBNUS_TEXT_DOMAIN),
            ),
			
			array(
                'id' => 'webnus_slogan',
                'type' => 'text',
                'title' => __('Slogan text', WEBNUS_TEXT_DOMAIN),
            ),
			
            array(
                'id' => 'webnus_page_menu_sp',
                'type' => 'seperator',
                'desc' => __('Header Menu', WEBNUS_TEXT_DOMAIN),
            ),
			array(
                'id' => 'webnus_header_sticky',
                'type' => 'button_set',
                'title' => __('Sticky Menu', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Disable', WEBNUS_TEXT_DOMAIN), '1' => __('Enable', WEBNUS_TEXT_DOMAIN)),
                'std' => '0'
            ),
            array(
                'id' => 'webnus_header_sticky_scrolls',
                'type' => 'text',
                'title' => __('Scrolls value to sticky the header', WEBNUS_TEXT_DOMAIN),
                'desc'=>__('<br>enter your desired amount (by pixel) which by scrolling that amount, sticky menu will appear in page.',WEBNUS_TEXT_DOMAIN),
                'value' => '150',
            ),            

            array(
                'id' => 'webnus_header_menu_type',
                'type' => 'radio_img',
                'title' => __('Select Header Layout', WEBNUS_TEXT_DOMAIN),
                'options' => array(
                	'1' => array('title' => __('Header Type 1', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_dir . 'menutype/menu1.png'),
                    '2' => array('title' => __('Header Type 2', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_dir . 'menutype/menu2.png'),
                    '3' => array('title' => __('Header Type 3', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_dir . 'menutype/menu3.png'),
                    '4' => array('title' => __('Header Type 4', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_dir . 'menutype/menu4.png'),
                    '5' => array('title' => __('Header Type 5', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_dir . 'menutype/menu5.png'),
					'6' => array('title' => __('Header Type 6', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_dir . 'menutype/menu6.png'),
					'7' => array('title' => __('Header Type 7', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_dir . 'menutype/menu7.png'),
					'8' => array('title' => __('Header Type 8', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_dir . 'menutype/menu8.png'),
					'9' => array('title' => __('Header Type 9', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_dir . 'menutype/menu9.png'),
					'10' => array('title' => __('Header Type 10', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_dir . 'menutype/menu10.png')
				),
				'std' => '1'
			),
			array(
				'id' => 'webnus_header_logo_alignment',
				'type' => 'button_set',
				'title' => __('Logo Alignment', WEBNUS_TEXT_DOMAIN),
				'desc' => __('For Header Type 2,3,4,5,9',WEBNUS_TEXT_DOMAIN),
				'options' => array('1' => 'Left', '2' => 'Center', '3' => 'Right'),
				'std' => '1'
            ),
         
 			array(
                'id' => 'webnus_header_search_enable',
                'type' => 'button_set',
                'title' => __('Search in Header', WEBNUS_TEXT_DOMAIN),
				'desc' => __('For Header Type 1',WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Disable', WEBNUS_TEXT_DOMAIN), '1' => __('Enable', WEBNUS_TEXT_DOMAIN)),
                'std' => '0'
            ),
          
		  	array(
                'id' => 'webnus_header_logo_rightside',
                'type' => 'select',
                'title' => __('Header Right side', WEBNUS_TEXT_DOMAIN),
                'desc' => __('For Header Type 2,3,4,5,9',WEBNUS_TEXT_DOMAIN),
                'options' => array(0 => __('None',WEBNUS_TEXT_DOMAIN), 1 => __('Search Box',WEBNUS_TEXT_DOMAIN), 2 => __('Contact Information',WEBNUS_TEXT_DOMAIN), 3 => __('Header Sidebar',WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
			array(
                'id' => 'webnus_header_phone',
                'type' => 'text',
                'title' => __('Header Phone Number', WEBNUS_TEXT_DOMAIN),
                'std' => '+1 234 56789'
            ),
            array(
                'id' => 'webnus_header_email',
                'type' => 'text',
                'title' => __('Header Email Address', WEBNUS_TEXT_DOMAIN),
                'std' => 'info@yourdomain.com'
            ),
			
			  array(
                'id' => 'webnus_header_menu_icon',
                'type' => 'radio_img',
                'title' => __('Responsive header', WEBNUS_TEXT_DOMAIN),
                'desc' => '',
				'options' => array(
               		'sm-rgt-ms' => array('title' => __('Modern', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_dir . 'menutype/menu-icon1.png'),
               		'' => array('title' => __('Classic', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_dir . 'menutype/menu-icon2.png'),
                ),
                'std' => 'sm-rgt-ms'
            ),
			
			array(
                'id' => 'webnus_news_ticker_sp',
                'type' => 'seperator',
                'desc' => __('News Ticker', WEBNUS_TEXT_DOMAIN),
            ),
		  	array(
                'id' => 'webnus_news_ticker',
                'type' => 'button_set',
                'title' => __('Active', WEBNUS_TEXT_DOMAIN),
                'desc' => '',
				'options' => array('0' => __('Disable', WEBNUS_TEXT_DOMAIN), '1' => __('Enable', WEBNUS_TEXT_DOMAIN)),
                'std' => '0'
            ),
			array(
                'id' => 'webnus_nt_show',
                'type' => 'button_set',
                'title' => __('Show in', WEBNUS_TEXT_DOMAIN),
                'desc' => '',
				'options' => array('0' => __('Home', WEBNUS_TEXT_DOMAIN), '1' => __('All Page', WEBNUS_TEXT_DOMAIN)),
                'std' => '0'
            ),
			
			array(
                'id' => 'webnus_nt_title',
                'type' => 'text',
                'title' => __('News Ticker Title', WEBNUS_TEXT_DOMAIN),
                'std' => 'Latest Posts'
            ),
			
			array(
                'id' => 'webnus_nt_cat',
                'type' => 'select',
                'title' => __('Category', WEBNUS_TEXT_DOMAIN),
				'options' => $category_slug_array,
				'desc' => '<br><br>Select specific category, leave blank to show all categories.',
                'std' => ''
            ),
			
			array(
                'id' => 'webnus_nt_count',
                'type' => 'text',
                'title' => __('Post Count', WEBNUS_TEXT_DOMAIN),
                'std' => '5'
            ),
			
			array(
                'id' => 'webnus_nt_effect',
                'type' => 'button_set',
                'title' => __('Animation Type', WEBNUS_TEXT_DOMAIN),
				'options' => array('reveal' => __('Reveal', WEBNUS_TEXT_DOMAIN), 'fade' => __('Fade', WEBNUS_TEXT_DOMAIN)),
                'std' => 'reveal'
            ),
			
			array(
                'id' => 'webnus_nt_speed',
                'type' => 'text',
                'title' => __('Animation Speed', WEBNUS_TEXT_DOMAIN),
                'std' => '1'
            ),
			
			array(
                'id' => 'webnus_nt_pause',
                'type' => 'text',
                'title' => __('Pause On Items', WEBNUS_TEXT_DOMAIN),
                'std' => '2'
            ),
			
    ));

	    /** TOPBAR **/	
	$sections[] = array(
        'icon' => NHP_OPTIONS_URL . 'img/admin-topbar.png',
        'title' => __('Topbar Options', WEBNUS_TEXT_DOMAIN),
        'fields' => array(		 
            array(
                'id' => 'webnus_header_topbar_enable',
                'type' => 'button_set',
                'title' => __('Show/Hide TopBar', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
            
            array(
                'id' => 'webnus_topbar_background_color',
                'type' => 'color',
                'title' => __('Topbar background color', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Pick a background color', WEBNUS_TEXT_DOMAIN),
                'std' => ''
            ),
			
			
            array(
                'id' => 'webnus_header_topbar_leftcontent',
                'type' => 'select',
                'title' => __('Topbar Left side', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Select Topbar left side content',WEBNUS_TEXT_DOMAIN),
                'options' => array(1 => 'Menu', 2 => 'Contact Information', 3 => 'Social Icons', 4=>'TagLine',5=>'WPML Language Bar'),
                'std' => '1'
            ),
            array(
                'id' => 'webnus_header_topbar_rightcontent',
                'type' => 'select',
                'title' => __('Topbar Right side', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Select Topbar right side content',WEBNUS_TEXT_DOMAIN),
                'options' => array(1 => 'Menu', 2 => 'Contact Information', 3 => 'Social Icons', 4=>'TagLine',5=>'WPML Language Bar'),
                'std' => '3'
            ),
			
			array(
                'id' => 'webnus_topbar_phone',
                'type' => 'text',
                'title' => __('Topbar Phone Number', WEBNUS_TEXT_DOMAIN),
                'std' => '+1 234 56789'
            ),
            array(
                'id' => 'webnus_topbar_email',
                'type' => 'text',
                'title' => __('Topbar Email Address', WEBNUS_TEXT_DOMAIN),
                'std' => 'info@yourdomain.com'
            ),
			
            array(
                'id' => 'webnus_top_left_tagline',
                'type' => 'text',
                'title' => __('Topbar Left side tag line', WEBNUS_TEXT_DOMAIN),
                'desc' => __('<br>Insert Any Headline Or Link You Want Here', WEBNUS_TEXT_DOMAIN),
                'std' => ''
            ),
            array(
                'id' => 'webnus_top_right_tagline',
                'type' => 'text',
                'title' => __('Topbar Right side tag line', WEBNUS_TEXT_DOMAIN),
                'desc' => __('<br>Insert Any Headline Or Link You Want Here', WEBNUS_TEXT_DOMAIN),
                'std' => ''
            ),
          
            array(
                'id' => 'webnus_top_social_icons_sep',
                'type' => 'seperator',
                'desc' => __('TopBar Social Icons', WEBNUS_TEXT_DOMAIN),
            ),
            array(
                'id' => 'webnus_top_social_icons_facebook',
                'type' => 'button_set',
                'title' => __('Facebook Icon', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
            array(
                'id' => 'webnus_top_social_icons_twitter',
                'type' => 'button_set',
                'title' => __('Twitter Icon', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
            array(
                'id' => 'webnus_top_social_icons_dribbble',
                'type' => 'button_set',
                'title' => __('Dribbble Icon', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '0'
            ),
            array(
                'id' => 'webnus_top_social_icons_pinterest',
                'type' => 'button_set',
                'title' => __('Pinterest Icon', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '0'
            ),
            array(
                'id' => 'webnus_top_social_icons_vimeo',
                'type' => 'button_set',
                'title' => __('Vimeo Icon', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
            array(
                'id' => 'webnus_top_social_icons_youtube',
                'type' => 'button_set',
                'title' => __('Youtube Icon', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '0'
            ),
             array(
                'id' => 'webnus_top_social_icons_google',
                'type' => 'button_set',
                'title' => __('Google+ Icon', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '0'
            ),
             array(
                'id' => 'webnus_top_social_icons_linkedin',
                'type' => 'button_set',
                'title' => __('LinkedIn Icon', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '0'
            ),
            array(
                'id' => 'webnus_top_social_icons_rss',
                'type' => 'button_set',
                'title' => __('RSS Icon', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '0'
            ),
            			array(
                'id' => 'webnus_top_social_icons_instagram',
                'type' => 'button_set',
                'title' => __('Instagram Icon', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '0'
            ),
			array(
                'id' => 'webnus_top_social_icons_flickr',
                'type' => 'button_set',
                'title' => __('Flickr Icon', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '0'
            ),
			array(
                'id' => 'webnus_top_social_icons_reddit',
                'type' => 'button_set',
                'title' => __('Reddit Icon', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '0'
            ),
			array(
                'id' => 'webnus_top_social_icons_delicious',
                'type' => 'button_set',
                'title' => __('Delicious Icon', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '0'
            ),
			array(
                'id' => 'webnus_top_social_icons_lastfm',
                'type' => 'button_set',
                'title' => __('LastFM Icon', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '0'
            ),
			array(
                'id' => 'webnus_top_social_icons_tumblr',
                'type' => 'button_set',
                'title' => __('Tumblr Icon', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '0'
            ),
			array(
                'id' => 'webnus_top_social_icons_skype',
                'type' => 'button_set',
                'title' => __('Skype Icon', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '0'
            ),

		
    ));

    //background options

    $sections[] = array(
        'icon' => NHP_OPTIONS_URL . 'img/admin-background.png',
        'title' => __('Background', WEBNUS_TEXT_DOMAIN),
        'desc'=>'If you like to use background, you should use boxed mode layout,you can find it in General tab',
        'fields' => array(
            /*
             *
             * Enable Disable Header Social
             *
             */

            array(
                'id' => 'webnus_background',
                'type' => 'upload',
                'title' => __('Background Image', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Please choose an image or insert an image url to use for the backgroud.', WEBNUS_TEXT_DOMAIN),
            ),
            array(
                'id' => 'webnus_background_100',
                'type' => 'checkbox',
                'title' => __('100% Background Image', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Have background image always at 100% in width and height and scale according to the browser size', WEBNUS_TEXT_DOMAIN),
                'std' => '0'
            ),
            array(
                'id' => 'webnus_background_repeat',
                'type' => 'select',
                'title' => __('Background Repeat', WEBNUS_TEXT_DOMAIN),
                'options' => array('1' => __('repeat', WEBNUS_TEXT_DOMAIN), '2' => __('repeat-x', WEBNUS_TEXT_DOMAIN), '3' => __('repeat-y', WEBNUS_TEXT_DOMAIN), '0' => __('no-repeat', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
            array(
                'id' => 'webnus_background_color',
                'type' => 'color',
                'title' => __('Background Color', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Pick a background color', WEBNUS_TEXT_DOMAIN),
                'std' => ''
            ),
            array(
                'id' => 'webnus_background_pattern', //must be unique
                'type' => 'radio_img', //the field type
                'title' => __('Background Pattern', WEBNUS_TEXT_DOMAIN),
                'options' => array('none' => array('title' => __('None', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_bg_dir . 'bg-pattern/none.jpg'),
                    $theme_img_dir . 'bdbg1.png' => array('title' => __('Default BG', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_bg_dir . 'bg-pattern/bdbg1.png'), $theme_img_bg_dir . 'gray-jean.png' => array('title' => __('Gray Jean', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_bg_dir . 'bg-pattern/gray-jean.png'), $theme_img_bg_dir . 'light-wool.png' => array('title' => __('Light Wool', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_bg_dir . 'bg-pattern/light-wool.png'),
                    $theme_img_bg_dir . 'subtle_freckles.png' => array('title' => __('Subtle Freckles', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_bg_dir . 'bg-pattern/subtle_freckles.png'),
                    $theme_img_bg_dir . 'subtle_freckles2.png' => array('title' => __('Subtle Freckles 2', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_bg_dir . 'bg-pattern/subtle_freckles2.png'),
                    $theme_img_bg_dir . 'green-fibers.png' => array('title' => __('Green Fibers', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_bg_dir . 'bg-pattern/green-fibers.png'),
					$theme_img_bg_dir . 'dust.png' => array('title' => __('Dust', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_bg_dir . 'bg-pattern/dust.png')),
                'std' => $theme_img_dir . 'bdbg1.png'//this should be the key as defined above
            )
    ));


    /*
     *
     * custom fonts
     */
	 
    include_once dirname(__FILE__) . '/gfonts/gfonts.php';
    $sections[] = array(
        'icon' => NHP_OPTIONS_URL . 'img/admin-typography.png',
        'title' => __('Typography', WEBNUS_TEXT_DOMAIN),
        'fields' => array(
            array(
                'id' => 'sep1',
                'type' => 'seperator',
                'desc' => 'Custom font 1',
            ),
            array(
                'id' => 'webnus_custom_font1_woff',
                'type' => 'upload',
                'title' => __('Custom font 1 .woff', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Upload the .woff font file for custom font 1', WEBNUS_TEXT_DOMAIN),
                'options' => $fontArray
            ),
            array(
                'id' => 'webnus_custom_font1_ttf',
                'type' => 'upload',
                'title' => __('Custom font 1 .ttf', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Upload the .ttf font file for custom font 1', WEBNUS_TEXT_DOMAIN),
                'options' => $fontArray
            ),         
            array(
                'id' => 'webnus_custom_font1_eot',
                'type' => 'upload',
                'title' => __('custom font 1 .eot', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Upload the .eot font file for custom font 1', WEBNUS_TEXT_DOMAIN),
                'options' => $fontArray
            ),
            /* dESiGNERz-CREW.iNFO for PRO users - custom font 2*/ 
            array(
                'id' => 'sep1',
                'type' => 'seperator',
                'desc' => 'Custom font 2',
            ),            
            array(
                'id' => 'webnus_custom_font2_woff',
                'type' => 'upload',
                'title' => __('Custom font 2 .woff', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Upload the .woff font file for custom font 2', WEBNUS_TEXT_DOMAIN),
                'options' => $fontArray
            ),
            array(
                'id' => 'webnus_custom_font2_ttf',
                'type' => 'upload',
                'title' => __('Custom font 2 .ttf', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Upload the .ttf font file for custom font 2', WEBNUS_TEXT_DOMAIN),
                'options' => $fontArray
            ),  
            array(
                'id' => 'webnus_custom_font2_eot',
                'type' => 'upload',
                'title' => __('custom font 2 .eot', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Upload the .eot font file for custom font 2', WEBNUS_TEXT_DOMAIN),
                'options' => $fontArray
            ),
            /* dESiGNERz-CREW.iNFO for PRO users - custom font 3*/ 
            array(
                'id' => 'sep1',
                'type' => 'seperator',
                'desc' => 'Custom font 3',
            ),            
            array(
                'id' => 'webnus_custom_font3_woff',
                'type' => 'upload',
                'title' => __('Custom font 3 .woff', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Upload the .woff font file for custom font 3', WEBNUS_TEXT_DOMAIN),
                'options' => $fontArray
            ),
            array(
                'id' => 'webnus_custom_font3_ttf',
                'type' => 'upload',
                'title' => __('Custom font 3 .ttf', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Upload the .ttf font file for custom font 3', WEBNUS_TEXT_DOMAIN),
                'options' => $fontArray
            ),          
            array(
                'id' => 'webnus_custom_font3_eot',
                'type' => 'upload',
                'title' => __('custom font 3 .eot', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Upload the .eot font file for custom font 3', WEBNUS_TEXT_DOMAIN),
                'options' => $fontArray
            ),
			/* dESiGNERz-CREW.iNFO for PRO users - Adobe Typekit*/ 
            array(
                'id' => 'sep4',
                'type' => 'seperator',
                'desc' => 'Adobe Typekit',
			),
            array(
                'id' => 'webnus_typekit_id',
                'type' => 'text',
                'title' => __('Typekit Kit ID', WEBNUS_TEXT_DOMAIN),
            ),
			array(
                'id' => 'webnus_typekit_font1',
                'type' => 'text',
                'title' => __('Typekit Font Family 1', WEBNUS_TEXT_DOMAIN),
            ),
			array(
                'id' => 'webnus_typekit_font2',
                'type' => 'text',
                'title' => __('Typekit Font Family 2', WEBNUS_TEXT_DOMAIN),
            ),
			array(
                'id' => 'webnus_typekit_font3',
                'type' => 'text',
                'title' => __('Typekit Font Family 3', WEBNUS_TEXT_DOMAIN),
            ),
			 /* dESiGNERz-CREW.iNFO for PRO users - select font*/ 
            array(
                'id' => 'sep5',
                'type' => 'seperator',
                'desc' => 'Select Font Family',
			),
             array(
                'id' => 'webnus_body_font',
                'type' => 'select',
                'title' => __('Select Body Font Family', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Select a font family for body text', WEBNUS_TEXT_DOMAIN),
                'options' => $fontArray
            ),
            array(
                'id' => 'webnus_heading_font',
                'type' => 'select',
                'title' => __('Select Headings Font', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Select a font family for headings', WEBNUS_TEXT_DOMAIN),
                'options' => $fontArray
            ),
            array(
                'id' => 'webnus_p_font',
                'type' => 'select',
                'title' => __('Select Paragraph Font', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Select a font family for paragraphs', WEBNUS_TEXT_DOMAIN),
                'options' => $fontArray
            ),
			
			  array(
                'id' => 'webnus_menu_font',
                'type' => 'select',
                'title' => __('Select Menu Font', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Select a font family for menu', WEBNUS_TEXT_DOMAIN),
                'options' => $fontArray
            ),
			
            array(
                'id' => 'sep1',
                'type' => 'seperator',
                'desc' => 'Header Menu Links Typography',
            ),

			/* dESiGNERz-CREW.iNFO for PRO users - NAV */    
            array(
                'id' => 'webnus_topnav_font_size',
                'type' => 'slider',
                'title' => __('Header Menu font-size', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_topnav_letter_spacing',
                'type' => 'slider',
                'title' => __('Header Menu letter-spacing', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_topnav_line_height',
                'type' => 'slider',
                'title' => __('Header Menu line-height', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),


            /* dESiGNERz-CREW.iNFO for PRO users - END Menu */

            array(
                'id' => 'sep1',
                'type' => 'seperator',
                'desc' => 'Paragraph and Headings Typography',
            ),
			
			 /* dESiGNERz-CREW.iNFO for PRO users - P */   
			
            array(
                'id' => 'webnus_p_font_size',
                'type' => 'slider',
                'title' => __('P font-size', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_p_letter_spacing',
                'type' => 'slider',
                'title' => __('P letter-spacing', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_p_line_height',
                'type' => 'slider',
                'title' => __('P line-height', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),

            array(
                'id' => 'webnus_p_font_color',
                'type' => 'color',
                'title' => __('P font-color', WEBNUS_TEXT_DOMAIN),
                
                
            ),
             /* dESiGNERz-CREW.iNFO for PRO users - END P */
			 
            /* dESiGNERz-CREW.iNFO for PRO users - H1 */   
			
            array(
                'id' => 'webnus_h1_font_size',
                'type' => 'slider',
                'title' => __('H1 font-size', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_h1_letter_spacing',
                'type' => 'slider',
                'title' => __('H1 letter-spacing', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_h1_line_height',
                'type' => 'slider',
                'title' => __('H1 line-height', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),

            array(
                'id' => 'webnus_h1_font_color',
                'type' => 'color',
                'title' => __('H1 font-color', WEBNUS_TEXT_DOMAIN),
                
                
            ),
             /* dESiGNERz-CREW.iNFO for PRO users - END H1 */
              /* dESiGNERz-CREW.iNFO for PRO users - H2 */  
            array(
                'id' => 'webnus_h2_font_size',
                'type' => 'slider',
                'title' => __('H2 font-size', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_h2_letter_spacing',
                'type' => 'slider',
                'title' => __('H2 letter-spacing', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_h2_line_height',
                'type' => 'slider',
                'title' => __('H2 line-height', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_h2_font_color',
                'type' => 'color',
                'title' => __('H2 font-color', WEBNUS_TEXT_DOMAIN),
                
                
            ),
            
             /* dESiGNERz-CREW.iNFO for PRO users - END H2 */
              /* dESiGNERz-CREW.iNFO for PRO users - H3 */  

            array(
                'id' => 'webnus_h3_font_size',
                'type' => 'slider',
                'title' => __('H3 font-size', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_h3_letter_spacing',
                'type' => 'slider',
                'title' => __('H3 letter-spacing', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_h3_line_height',
                'type' => 'slider',
                'title' => __('H3 line-height', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_h3_font_color',
                'type' => 'color',
                'title' => __('H3 font-color', WEBNUS_TEXT_DOMAIN),
                
                
            ),
            /* dESiGNERz-CREW.iNFO for PRO users - END H3 */
            /* dESiGNERz-CREW.iNFO for PRO users - H4 */ 
            array(
                'id' => 'webnus_h4_font_size',
                'type' => 'slider',
                'title' => __('H4 font-size', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_h4_letter_spacing',
                'type' => 'slider',
                'title' => __('H4 letter-spacing', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_h4_line_height',
                'type' => 'slider',
                'title' => __('H4 line-height', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_h4_font_color',
                'type' => 'color',
                'title' => __('H4 font-color', WEBNUS_TEXT_DOMAIN),
                
                
            ),
            /* dESiGNERz-CREW.iNFO for PRO users - END H4 */
            /* dESiGNERz-CREW.iNFO for PRO users - H5 */ 
            
            array(
                'id' => 'webnus_h5_font_size',
                'type' => 'slider',
                'title' => __('H5 font-size', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_h5_letter_spacing',
                'type' => 'slider',
                'title' => __('H5 letter-spacing', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_h5_line_height',
                'type' => 'slider',
                'title' => __('H5 line-height', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_h5_font_color',
                'type' => 'color',
                'title' => __('H5 font-color', WEBNUS_TEXT_DOMAIN),
                
                
            ),
            /* dESiGNERz-CREW.iNFO for PRO users - END H5 */
            /* dESiGNERz-CREW.iNFO for PRO users - H6 */ 

            array(
                'id' => 'webnus_h6_font_size',
                'type' => 'slider',
                'title' => __('H6 font-size', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_h6_letter_spacing',
                'type' => 'slider',
                'title' => __('H6 letter-spacing', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_h6_line_height',
                'type' => 'slider',
                'title' => __('H6 line-height', WEBNUS_TEXT_DOMAIN),
                'value' => array('min'=>1,'max'=>100),
            ),
            array(
                'id' => 'webnus_h6_font_color',
                'type' => 'color',
                'title' => __('H6 font-color', WEBNUS_TEXT_DOMAIN),
                
                
            ),
        )
    );



    $sections[] = array(
        'icon' => NHP_OPTIONS_URL . 'img/admin-style.png',
        'title' => __('Styling Options', WEBNUS_TEXT_DOMAIN),
        'fields' => array(
        
        array(
                'id' => 'webnus_color_skin', //must be unique
                'type' => 'radio_img', //the field type
                'title' => __('Predefined Color Skin', WEBNUS_TEXT_DOMAIN),
                'options' => array(
				 '1' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color3-ss.png')
                ,'2' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color1-ss.png')
                ,'3' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color4-ss.png')
                ,'4' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color2-ss.png')
	            ,'5' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color5-ss.png')
	            ,'6' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color6-ss.png')
	            ,'7' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color7-ss.png')
	            ,'8' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color8-ss.png')
	            ,'9' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color9-ss.png')
	            ,'10' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color10-ss.png')
				,'11' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color11-ss.png')
	            ,'12' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color12-ss.png')
	            ,'13' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color13-ss.png')
	            ,'14' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color14-ss.png')
	            ,'15' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color15-ss.png')
				,'16' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color16-ss.png')
	            ,'17' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color17-ss.png')
	            ,'18' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color18-ss.png')
	            ,'19' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color19-ss.png')
	            ,'20' => array('title' =>'','img' => NHP_OPTIONS_URL . 'img/color20-ss.png')
                ),
                'std' => ''//this should be the key as defined above
            ),
            array(
                'id' => 'webnus_custom_color_sep',
                'type' => 'seperator',
                'desc' => __('Custom Color Skin', WEBNUS_TEXT_DOMAIN),
            ),
            array(
                'id' => 'webnus_custom_color_skin_enable',
                'type' => 'button_set',
                'title' => __('Custom Color Skin Enable/Disable', WEBNUS_TEXT_DOMAIN),
                'options' => array(1 => __('Enable',WEBNUS_TEXT_DOMAIN), 0 => __('Disable',WEBNUS_TEXT_DOMAIN)),
                'desc' => __('Enable or Disable Custom Color Skin', WEBNUS_TEXT_DOMAIN),
                'std' => '0'
            ),
            array(
                'id' => 'webnus_custom_color_skin',
                'type' => 'color',
                'title' => __('Custom Color Skin', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Choose custom color for color skin', WEBNUS_TEXT_DOMAIN),
                'std' => ''
            ),
        
			array(
                'id' => 'mainstyle-sep1',
                'type' => 'seperator',
                'desc' => 'Link Base Color',
            ),
			
			array(
                'id' => 'webnus_link_color',
                'type' => 'color',
                'title' => __('Unvisited Link Color', WEBNUS_TEXT_DOMAIN),
            ),

			array(
                'id' => 'webnus_hover_link_color',
                'type' => 'color',
                'title' => __('Mouse Over Link Color', WEBNUS_TEXT_DOMAIN),
            ),
			
			array(
                'id' => 'webnus_visited_link_color',
                'type' => 'color',
                'title' => __('Visited Link Color ', WEBNUS_TEXT_DOMAIN),
            ),
			
			array(
                'id' => 'mainstyle-sep1',
                'type' => 'seperator',
                'desc' => 'Header Menu Colors',
            ),
			
			array(
                'id' => 'webnus_menu_link_color',
                'type' => 'color',
                'title' => __('Header Menu Link Color', 'WEBNUS_TEXT_DOMAIN'),
            ),

			array(
				'id'=>'webnus_menu_hover_link_color',
				'type'=>'color',
				'title'=> __('Header Menu Link Hover Color','WEBNUS_TEXT_DOMAIN'),			
			),
			
			array(
				'id'=>'webnus_menu_selected_link_color',
				'type'=>'color',
				'title'=> __('Header Menu Link Selected Color','WEBNUS_TEXT_DOMAIN'),			
			),

			array(
				'id'=>'webnus_menu_selected_border_color',
				'type'=>'color',
				'title'=> __('Header Menu Selected Border Color','WEBNUS_TEXT_DOMAIN'),			
			),
			
			array(
				'id'=>'webnus_resoponsive_menu_icon_color',
				'type'=>'color',
				'title'=> __('Responsive Menu Icon Color','WEBNUS_TEXT_DOMAIN'),		
			),
			
			//Icon Box Colors
			
			array(
                'id' => 'mainstyle-sep2',
                'type' => 'seperator',
                'desc' => 'Icon Box Colors',
            ),

			array(
				'id'=>'webnus_iconbox_base_color',
				'type'=>'color',
				'title'=>'Iconbox base color','WEBNUS_TEXT_DOMAIN',		
			),

			
			array(
				'id'=>'webnus_learnmore_link_color',
				'type'=>'color',
				'title'=>'Learn more link color','WEBNUS_TEXT_DOMAIN',		
			),
			
			array(
				'id'=>'webnus_learnmore_hover_link_color',
				'type'=>'color',
				'title'=>'Learn more hover link color','WEBNUS_TEXT_DOMAIN',		
			),
			
			

			/*
			 * Portfolio Colors
			 */

			
			array(
                'id' => 'mainstyle-sep3',
                'type' => 'seperator',
                'desc' => 'Portfolio Colors',
            ),
			
			array(
				'id'=>'webnus_portfolio_filter_links_color',
				'type'=>'color',
				'title'=>'Portfolio filter links color','WEBNUS_TEXT_DOMAIN',		
			),
			
			array(
				'id'=>'webnus_portfolio_filter_links_border_color',
				'type'=>'color',
				'title'=>'Portfolio filter links border color','WEBNUS_TEXT_DOMAIN',			
			),
			
			array(
				'id'=>'webnus_portfolio_filter_links_hover_color',
				'type'=>'color',
				'title'=>'Portfolio filter links hover color','WEBNUS_TEXT_DOMAIN',			
			),
			
			array(
				'id'=>'webnus_portfolio_filter_links_hover_border_color',
				'type'=>'color',
				'title'=>'Portfolio filter links hover border color','WEBNUS_TEXT_DOMAIN',		
			),
			
			array(
				'id'=>'webnus_portfolio_filter_selected_links_color',
				'type'=>'color',
				'title'=>'Portfolio filter selected links color','WEBNUS_TEXT_DOMAIN',		
			),
				
			array(
				'id'=>'webnus_portfolio_filter_selected_links_border_color',
				'type'=>'color',
				'title'=>'Portfolio filter selected links border color','WEBNUS_TEXT_DOMAIN',		
			),
			



			/*
			 * Our Process Icon Colors
			 */

			array(
                'id' => 'mainstyle-sep5',
                'type' => 'seperator',
                'desc' => 'Our Process Icon Colors',
            ),


			array(
				'id'=>'webnus_ourprocess_icon_color',
				'type'=>'color',
				'title'=>'OurProcess icon color','WEBNUS_TEXT_DOMAIN',		
			),

			array(
				'id'=>'webnus_ourprocess_border_color',
				'type'=>'color',
				'title'=>'OurProcess border color','WEBNUS_TEXT_DOMAIN',		
			),

			array(
				'id'=>'webnus_ourprocess_background_color',
				'type'=>'color',
				'title'=>'OurProcess background color','WEBNUS_TEXT_DOMAIN',		
			),
			//Hover
			array(
				'id'=>'webnus_ourprocess_hover_icon_color',
				'type'=>'color',
				'title'=>'OurProcess hover icon color','WEBNUS_TEXT_DOMAIN',	
			),

			array(
				'id'=>'webnus_ourprocess_hover_border_color',
				'type'=>'color',
				'title'=>'OurProcess hover border color','WEBNUS_TEXT_DOMAIN',		
			),

			array(
				'id'=>'webnus_ourprocess_hover_background_color',
				'type'=>'color',
				'title'=>'OurProcess hover background color','WEBNUS_TEXT_DOMAIN',	
			),


		


		

			/*
			 * Scroll to top
			 */

			array(
                'id' => 'mainstyle-sep11',
                'type' => 'seperator',
                'desc' => 'Scroll to top',
            ),

			array(
			
				'id'=>'webnus_scroll_to_top_hover_background_color',
				'type'=>'color',
				'title'=>'Scroll to top hover background color ','WEBNUS_TEXT_DOMAIN',	
			),

			/*
			 * Contact form
			 */

			array(
                'id' => 'mainstyle-sep11',
                'type' => 'seperator',
                'desc' => 'Footer Contact form',
            ),

			array(
			
				'id'=>'webnus_contactform_button_color',
				'type'=>'color',
				'title'=>'Contact form button color ','WEBNUS_TEXT_DOMAIN',		
			),
			array(
			
				'id'=>'webnus_contactform_button_hover_color',
				'type'=>'color',
				'title'=>'Contact form button hover color ','WEBNUS_TEXT_DOMAIN',			
			),	
			

			

        )


    );





    /*
     *
     *
     * BLOG Options
     *
     *
     */


    $sections[] = array(
        'icon' => NHP_OPTIONS_URL . 'img/admin-blog.png',
        'title' => __('Blog Options', WEBNUS_TEXT_DOMAIN),
        'fields' => array(
           
             array(
                'id' => 'webnus_blog_template',
                'type' => 'select',
                'title' => __('BlogTemplate', WEBNUS_TEXT_DOMAIN),
                'options' => array(
				'1' => __('Large Image', WEBNUS_TEXT_DOMAIN),
				'2' => __('Thumbnail Image', WEBNUS_TEXT_DOMAIN),
				'3' => __('Masonry', WEBNUS_TEXT_DOMAIN),
				'4' => __('Timeline', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),

			 array(
                'id' => 'webnus_blog_page_title_enable',
                'type' => 'button_set',
                'title' => __('Blog Page Title Show/Hide', WEBNUS_TEXT_DOMAIN),
                'std' => '1',
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
            ),
			
			 array(
                'id' => 'webnus_blog_page_title',
                'type' => 'text',
                'title' => __('Blog Page Title', WEBNUS_TEXT_DOMAIN),
                'std' => 'Blog',
            ),
			
			array(
                'id' => 'webnus_blog_sidebar',
                'type' => 'button_set',
                'title' => __('Blog Sidebar Position', WEBNUS_TEXT_DOMAIN),
                'options' => array('none'=>'None','left' => 'Left', 'right' => 'Right', 'both' => 'Both'),
                'std' => 'right',
            ),
			
			array(
                'id' => 'webnus_blog_featuredimage_enable',
                'type' => 'button_set',
                'title' => __('Featured Image on Blog', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Off', WEBNUS_TEXT_DOMAIN), '1' => __('On', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
			
             array(
                'id' => 'webnus_blog_posttitle_enable',
                'type' => 'button_set',
                'title' => __('Post Title on Blog', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Off', WEBNUS_TEXT_DOMAIN), '1' => __('On', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),

			 array(
                'id' => 'webnus_blog_excerptfull_enable',
                'type' => 'button_set',
                'title' => __('Excerpt Or Full Blog Content', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Excerpt', WEBNUS_TEXT_DOMAIN), '1' => __('&nbsp;&nbsp;&nbsp;Full&nbsp;&nbsp;&nbsp;', WEBNUS_TEXT_DOMAIN)),
                'std' => '0'
            ),
			
			 array(
                'id' => 'webnus_blog_excerpt_len',
                'type' => 'text',
                'title' => __('Excerpt Length', WEBNUS_TEXT_DOMAIN),
                'std' => '65',
            ),
			
            array(
                'id' => 'webnus_blog_readmore_text',
                'type' => 'text',
                'title' => __('Read More Text', WEBNUS_TEXT_DOMAIN),
                'std' => 'Read More',
            ),
			
		 array(
                'id' => 'webnus_custom_color_sep',
                'type' => 'seperator',
                'desc' => __('Metadata Options', WEBNUS_TEXT_DOMAIN),
				'sub_desc' => __('on Blog & Single', WEBNUS_TEXT_DOMAIN),
            ),
			
			array(
                'id' => 'webnus_blog_meta_gravatar_enable',
                'type' => 'button_set',
                'title' => __('Metadata Gravatar', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Off', WEBNUS_TEXT_DOMAIN), '1' => __('On', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
			
			 array(
                'id' => 'webnus_blog_meta_author_enable',
                'type' => 'button_set',
                'title' => __('Metadata Author', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Off', WEBNUS_TEXT_DOMAIN), '1' => __('On', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
			
			array(
                'id' => 'webnus_blog_meta_date_enable',
                'type' => 'button_set',
                'title' => __('Metadata Date', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Off', WEBNUS_TEXT_DOMAIN), '1' => __('On', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
			
			 array(
                'id' => 'webnus_blog_meta_category_enable',
                'type' => 'button_set',
                'title' => __('Metadata Category', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Off', WEBNUS_TEXT_DOMAIN), '1' => __('On', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
			

			
			 array(
                'id' => 'webnus_blog_meta_comments_enable',
                'type' => 'button_set',
                'title' => __('Metadata Comments', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Off', WEBNUS_TEXT_DOMAIN), '1' => __('On', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
			
			array(
                'id' => 'webnus_blog_meta_views_enable',
                'type' => 'button_set',
                'title' => __('Metadata Views', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Off', WEBNUS_TEXT_DOMAIN), '1' => __('On', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
			

			
			
			 array(
                'id' => 'webnus_custom_color_sep',
                'type' => 'seperator',
                'desc' => __('Single Post Options', WEBNUS_TEXT_DOMAIN),
            ),
			
			 array(
                'id' => 'webnus_blog_singlepost_sidebar',
                'type' => 'button_set',
                'title' => __('Single Post Sidebar Position', WEBNUS_TEXT_DOMAIN),
                'options' => array('none'=>'None','left' => 'Left', 'right' => 'Right'),
                'std' => 'right',
            ),
			
            array(
                'id' => 'webnus_blog_sinlge_featuredimage_enable',
                'type' => 'button_set',
                'title' => __('Featured Image on Single Post', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Off', WEBNUS_TEXT_DOMAIN), '1' => __('On', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
			
			array(
                'id' => 'webnus_blog_social_share',
                'type' => 'button_set',
                'title' => __('Social Share Links', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Off', WEBNUS_TEXT_DOMAIN), '1' => __('On', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
			

            array(
                'id' => 'webnus_blog_single_authorbox_enable',
                'type' => 'button_set',
                'title' => __('Single post Authorbox', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Off', WEBNUS_TEXT_DOMAIN), '1' => __('On', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),

			 array(
                'id' => 'webnus_recommended_posts',
                'type' => 'button_set',
                'title' => __('Recommended Posts', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Off', WEBNUS_TEXT_DOMAIN), '1' => __('On', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
			

            
			array(
                'id' => 'blog_font_options',
                'type' => 'seperator',
                'desc' => 'Post Title Font Options',
            ),
            
			
            array(
                'id' => 'webnus_blog_title_font_family',
                'type' => 'select',
                'title' => __('Post Title Font Family', WEBNUS_TEXT_DOMAIN),
                'options' =>$fontArray, 
                
            ),
            array(
                'id' => 'webnus_blog_loop_title_font_size',
                'type' => 'slider',
                'title' => __('Post Title font-size on Blog', WEBNUS_TEXT_DOMAIN),
                'value' =>array('min'=>0, 'max'=>100),
                'suffix'=>'px' 
                
            ),
           array(
                'id' => 'webnus_blog_loop_title_line_height',
                'type' => 'slider',
                'title' => __('Post Title line-height on Blog', WEBNUS_TEXT_DOMAIN),
                'value' =>array('min'=>0, 'max'=>100) ,
                'suffix'=>'px' 
            ),
           array(
                'id' => 'webnus_blog_loop_title_font_weight',
                'type' => 'slider',
                'title' => __('Post Title font-weight on Blog', WEBNUS_TEXT_DOMAIN),
                'value' =>array('min'=>1, 'max'=>900), 
                'suffix'=>'' ,
                'step'=>100
            ),
			
           array(
                'id' => 'webnus_blog_loop_title_letter_spacing',
                'type' => 'slider',
                'title' => __('Post Title letter-spacing on Blog', WEBNUS_TEXT_DOMAIN),
                'value' =>array('min'=>0, 'max'=>100) ,
                'suffix'=>'px' 
            ),
			
       	    array(
                'id' => 'webnus_blog_loop_title_color',
                'type' => 'color',
                'title' => __('Post Title Color on Blog', WEBNUS_TEXT_DOMAIN),
                
                
            ),
       	    array(
                'id' => 'webnus_blog_loop_title_hover_color',
                'type' => 'color',
                'title' => __('Post Title Hover Color on Blog', WEBNUS_TEXT_DOMAIN),
                
                
            ),
       	    array(
                'id' => 'webnus_blog_single_post_title_font_size',
                'type' => 'slider',
                'title' => __('Post Title font-size on Single Post', WEBNUS_TEXT_DOMAIN),
                'value' =>array('min'=>0, 'max'=>100)  ,
                'suffix'=>'px' 
                
            ),
            array(
                'id' => 'webnus_blog_single_title_line_height',
                'type' => 'slider',
                'title' => __('Post Title line-height on Single Post', WEBNUS_TEXT_DOMAIN),
                'value' =>array('min'=>0, 'max'=>100) ,
                'suffix'=>'px' 
            ),
            array(
                'id' => 'webnus_blog_single_title_font_weight',
                'type' => 'slider',
                'title' => __('Post Title font-weight on Single Post', WEBNUS_TEXT_DOMAIN),
                'value' =>array('min'=>1, 'max'=>900) ,
                'suffix'=>'' ,
                'step'=>100
            ),
			
           array(
                'id' => 'webnus_blog_single_title_letter_spacing',
                'type' => 'slider',
                'title' => __('Post Title letter-spacing on Single Post', WEBNUS_TEXT_DOMAIN),
                'value' =>array('min'=>1, 'max'=>100) ,
                'suffix'=>'px' 
            ),
            array(
                'id' => 'webnus_blog_single_title_color',
                'type' => 'color',
                'title' => __('Post Title color on Single Post', WEBNUS_TEXT_DOMAIN),
                
                
            ),
			
			
		
        )
    );



    /*
     *
     * Portfolio
     *
     */

    $sections[] = array(
        'icon' => NHP_OPTIONS_URL . 'img/admin-portfolio.png',
        'title' => __('Portfolio Options', WEBNUS_TEXT_DOMAIN),
        'fields' => array(
            array(
                'id' => 'webnus_portfolio_isotope_enable',
                'type' => 'button_set',
                'title' => __('Enable/Disable Portfolio Isotope Effect', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Disable', WEBNUS_TEXT_DOMAIN), '1' => __('Enable', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
        
            array(
            'id' => 'webnus_portfolio_image_width',
            'type' => 'text',
            'title' => __('Portfolio Image Width in(px)', WEBNUS_TEXT_DOMAIN),
            'std'=>'650'

            ),
            array(
            'id' => 'webnus_portfolio_image_height',
            'type' => 'text',
            'title' => __('Portfolio Image Height in(px)', WEBNUS_TEXT_DOMAIN),
            'std'=>'520'

            ),
			
			array(
                'id' => 'webnus_portfolio_recentworks_enable',
                'type' => 'button_set',
                'title' => __('Enable/Disable Recent Works In Single Portfolio Item', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Disable', WEBNUS_TEXT_DOMAIN), '1' => __('Enable', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
			array(
                'id' => 'webnus_portfolio_likebox_enable',
                'type' => 'button_set',
                'title' => __('Enable/Disable LikeBox In Single Portfolio Item', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Disable', WEBNUS_TEXT_DOMAIN), '1' => __('Enable', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),

			array(
                'id' => 'webnus_portfolio_columns',
                'type' => 'select',
                'title' => __('Portfolio columns', WEBNUS_TEXT_DOMAIN),
                'options' => array('2' => __('2 Columns', WEBNUS_TEXT_DOMAIN), '3' => __('3 Columns', WEBNUS_TEXT_DOMAIN)
				, '4' => __('4 Columns', WEBNUS_TEXT_DOMAIN)
				, '5' => __('5 Columns', WEBNUS_TEXT_DOMAIN)
				, '6' => __('6 Columns', WEBNUS_TEXT_DOMAIN)
				),
                'std' => '4'
            ),
			array(
                'id' => 'webnus_portfolio_layout',
                'type' => 'button_set',
                'title' => __('Portfolio layout', WEBNUS_TEXT_DOMAIN),
                'options' => array('' => __('Full-width', WEBNUS_TEXT_DOMAIN), 'container' => __('Boxed', WEBNUS_TEXT_DOMAIN)
				
				),
                'std' => ''
            ), 
			array(
                'id' => 'webnus_portfolio_space',
                'type' => 'button_set',
                'title' => __('Space between columns', WEBNUS_TEXT_DOMAIN),
                'options' => array('' => __('Off', WEBNUS_TEXT_DOMAIN), 'with-space-w ' => __('On', WEBNUS_TEXT_DOMAIN)
				
				),
                'std' => ''
            ),                 
        )
    );

   
    //Social Network Accounts
    $sections[] = array(
        'icon' => NHP_OPTIONS_URL . 'img/admin-social.png',
        'title' => __('Social Networks', WEBNUS_TEXT_DOMAIN),
        'desc' => __('<p class="description">Customize The Social Network Accounts</p>', WEBNUS_TEXT_DOMAIN),
        'fields' => array(
            array(
                'id' => 'webnus_twitter_ID',
                'type' => 'text',
                'title' => __('Twitter URL', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Example: http://twitter.com/mytwitterid', WEBNUS_TEXT_DOMAIN),
                'std' => '#'
            ),
            array(
                'id' => 'webnus_facebook_ID',
                'type' => 'text',
                'title' => __('Facebook Link', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Example: http://facebook.com/myfacebook', WEBNUS_TEXT_DOMAIN),
                'std' => '#'
            ),
            array(
                'id' => 'webnus_youtube_ID',
                'type' => 'text',
                'title' => __('Youtube Link', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Example: http://youtube.com/account', WEBNUS_TEXT_DOMAIN),
                'std' => '#'
            ),
            array(
                'id' => 'webnus_linkedin_ID',
                'type' => 'text',
                'title' => __('Linkedin Link', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Example: http://linkedin/linkedinid', WEBNUS_TEXT_DOMAIN),
                'std' => '#'
            ),
            array(
                'id' => 'webnus_dribbble_ID',
                'type' => 'text',
                'title' => __('Dribbble Link', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Example: http://dribbble.com/dribbbleid', WEBNUS_TEXT_DOMAIN),
                'std' => ''
            ),
            array(
                'id' => 'webnus_pinterest_ID',
                'type' => 'text',
                'title' => __('Pinterest Link', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Example: http://pinterest/pinterestid', WEBNUS_TEXT_DOMAIN),
                'std' => ''
            ),
            array(
                'id' => 'webnus_vimeo_ID',
                'type' => 'text',
                'title' => __('Vimeo Link', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Example: http://vimeo.com/', WEBNUS_TEXT_DOMAIN),
                'std' => ''
            ),
             array(
                'id' => 'webnus_google_ID',
                'type' => 'text',
                'title' => __('Google+ Link', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Example: http://plus.google.com/', WEBNUS_TEXT_DOMAIN),
                'std' => '#'
            ),
            array(
                'id' => 'webnus_rss_ID',
                'type' => 'text',
                'title' => __('RSS Link', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Example: http://exaple.com/rss', WEBNUS_TEXT_DOMAIN),
                'std' => '#'
            ),
            array(
                'id' => 'webnus_instagram_ID',
                'type' => 'text',
                'title' => __('Instagram URL', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Instagram Link URL', WEBNUS_TEXT_DOMAIN),
                'std' => ''
            ),
        	array(
                'id' => 'webnus_flickr_ID',
                'type' => 'text',
                'title' => __('Flickr URL', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Flickr Link URL', WEBNUS_TEXT_DOMAIN),
                'std' => ''
            ),
			array(
                'id' => 'webnus_reddit_ID',
                'type' => 'text',
                'title' => __('Reddit URL', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Reddit Link URL', WEBNUS_TEXT_DOMAIN),
                'std' => ''
            ),
			array(
                'id' => 'webnus_lastfm_ID',
                'type' => 'text',
                'title' => __('Lastfm URL', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Lastfm Link URL', WEBNUS_TEXT_DOMAIN),
                'std' => ''
            ),
			
			array(
                'id' => 'webnus_delicious_ID',
                'type' => 'text',
                'title' => __('Delicious URL', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Delicious Link URL', WEBNUS_TEXT_DOMAIN),
                'std' => ''
            ),
			array(
                'id' => 'webnus_tumblr_ID',
                'type' => 'text',
                'title' => __('Tumblr URL', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Tumblr Link URL', WEBNUS_TEXT_DOMAIN),
                'std' => ''
            ),
			array(
                'id' => 'webnus_skype_ID',
                'type' => 'text',
                'title' => __('Skype URL', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Skype Link URL', WEBNUS_TEXT_DOMAIN),
                'std' => ''
            ),
			
        )
    );

   /*
     * Footer
     */
    $sections[] = array(
        'icon' => NHP_OPTIONS_URL . 'img/admin-footer.png',
        'title' => __('Footer Options', WEBNUS_TEXT_DOMAIN),
        'desc' => __('<p class="description">Customize Footer</p>', WEBNUS_TEXT_DOMAIN),
        'fields' => array(

			array(
                'id' => 'webnus_footer_bottom_enable',
                'type' => 'button_set',
                'title' => __('Footer Bottom', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),		
            array(
                'id' => 'webnus_footer_background_color',
                'type' => 'color',
                'title' => __('Footer background color', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Pick a background color', WEBNUS_TEXT_DOMAIN),
                'std' => ''
            ),
            array(
                'id' => 'webnus_footer_bottom_background_color',
                'type' => 'color',
                'title' => __('Footer bottom background color', WEBNUS_TEXT_DOMAIN),
                'sub_desc' => __('Pick a background color', WEBNUS_TEXT_DOMAIN),
                'std' => ''
            ),
		   array(
                'id' => 'webnus_footer_color',
                'type' => 'button_set',
                'title' => __('Footer Color Style', WEBNUS_TEXT_DOMAIN),
                'options' => array('1' => __('Dark', WEBNUS_TEXT_DOMAIN), '2' => __('Light', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
			array(
                'id' => 'webnus_footer_bottom_left',
                'type' => 'select',
                'title' => __('Footer Bottom Left Content', WEBNUS_TEXT_DOMAIN),
                'options' => array('1' => __('Logo', WEBNUS_TEXT_DOMAIN), '2' => __('Menu', WEBNUS_TEXT_DOMAIN),'3' => __('Copyright', WEBNUS_TEXT_DOMAIN)),
                'std' => '3'
            ),
			array(
                'id' => 'webnus_footer_bottom_right',
                'type' => 'select',
                'title' => __('Footer Bottom Right Content', WEBNUS_TEXT_DOMAIN),
                'options' => array('1' => __('Logo', WEBNUS_TEXT_DOMAIN), '2' => __('Menu', WEBNUS_TEXT_DOMAIN),'3' => __('Copyright', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
			
           
			array(
                'id' => 'webnus_footer_logo',
                'type' => 'upload',
                'title' => __('Footer Logo', WEBNUS_TEXT_DOMAIN),
                'desc' => __('Please choose an image file for footer logo.', WEBNUS_TEXT_DOMAIN),
            ),
			array(
                'id' => 'webnus_footer_copyright',
                'type' => 'text',
                'title' => __('Footer Copyright Text', WEBNUS_TEXT_DOMAIN),
                
            ),
			 array(
                'id' => 'webnus_footer_type',
                'type' => 'radio_img',
                'title' => __('Footer Type', WEBNUS_TEXT_DOMAIN),
                'options' => array('1' => array('title' => __('Footer Layout 1', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_dir . 'footertype/footer1.png'),
                    '2' => array('title' => __('Footer Layout 2', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_dir . 'footertype/footer2.png'),
                    '3' => array('title' => __('Footer Layout 3', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_dir . 'footertype/footer3.png'),
                    '4' => array('title' => __('Footer Layout 4', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_dir . 'footertype/footer4.png'),
                    '5' => array('title' => __('Footer Layout 5', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_dir . 'footertype/footer5.png'),
                    '6' => array('title' => __('Footer Layout 6', WEBNUS_TEXT_DOMAIN), 'img' => $theme_img_dir . 'footertype/footer6.png'),
                ),
                'std' => '1'
            ),
			
 
    ));
  
      /*
     * 404 PAGE
     */
    $sections[] = array(
        'icon' => NHP_OPTIONS_URL . 'img/admin-404.png',
        'title' => __('404 Page', WEBNUS_TEXT_DOMAIN),
        'desc' => __('<p class="description">Customize Default 404 (Not Found) Page</p>', WEBNUS_TEXT_DOMAIN),
        'fields' => array(
            array(
                'id' => 'webnus_404_text',
                'type' => 'textarea',
                'title' => __('Text To Display', WEBNUS_TEXT_DOMAIN),
                'std' => '<h3>We\'re sorry, but the page you were looking for doesn\'t exist.</h3>'
            ),/*
            array(
                'id' => 'webnus_404_link_text',
                'type' => 'text',
                'title' => __('Anchor Text', WEBNUS_TEXT_DOMAIN),
                'std' => 'HOME PAGE'
            ),
            array(
                'id' => 'webnus_404_link_link',
                'type' => 'text',
                'title' => __('Anchor Link', WEBNUS_TEXT_DOMAIN),
                'std' => site_url()
            ),*/
    ));


/*
		Custom css
*/

    $sections[] = array(
        'icon' => NHP_OPTIONS_URL . 'img/admin-css.png',
        'title' => __('Custom CSS', WEBNUS_TEXT_DOMAIN),
		'desc' => '<p class="description">Any custom CSS from the user should go in this field, it will override the theme CSS.</p>',
        'fields' => array(

            array(
                'id' => 'webnus_custom_css',
                'type' => 'textarea',
                'title' => __('Your CSS Code', WEBNUS_TEXT_DOMAIN),
            ),
        )
    );

	
	
	/*
		Woocommerce 
*/

    $sections[] = array(
        'icon' => NHP_OPTIONS_URL . 'img/admin-woo.png',
        'title' => __('Woocommerce', WEBNUS_TEXT_DOMAIN),
        'fields' => array(
            
            array(
                'id' => 'webnus_woo_shop_title_enable',
                'type' => 'button_set',
                'title' => __('Shop title Show/Hide', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
            array(
                'id' => 'webnus_woo_shop_title',
                'type' => 'text',
                'title' => __('Shop page title', WEBNUS_TEXT_DOMAIN),
                'std'=>'Shop'
            ),
            array(
                'id' => 'webnus_woo_product_title_enable',
                'type' => 'button_set',
                'title' => __('Product page title Show/Hide', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std' => '1'
            ),
            array(
                'id' => 'webnus_woo_product_title',
                'type' => 'text',
                'title' => __('Product page title', WEBNUS_TEXT_DOMAIN),
                'std'=>'Product'
            ),
            array(
                'id' => 'webnus_woo_sidebar_enable',
                'type' => 'button_set',
                'title' => __('Show/Hide Sidebar', WEBNUS_TEXT_DOMAIN),
                'options' => array('0' => __('Hide', WEBNUS_TEXT_DOMAIN), '1' => __('Show', WEBNUS_TEXT_DOMAIN)),
                'std'=>'Product'
            ),
        )
    );


    $tabs = array();

    if (function_exists('wp_get_theme')) {
        $theme_data = wp_get_theme();
        $theme_uri = $theme_data->get('ThemeURI');
        $description = $theme_data->get('Description');
        $author = $theme_data->get('Author');
        $version = $theme_data->get('Version');
        $tags = $theme_data->get('Tags');
    } else {
        $theme_data = wp_get_theme(get_template_directory());
        $theme_uri = $theme_data['URI'];
        $description = $theme_data['Description'];
        $author = $theme_data['Author'];
        $version = $theme_data['Version'];
        $tags = $theme_data['Tags'];
    }

    $theme_info = '<div class="nhp-opts-section-desc">';
    $theme_info .= '<p class="nhp-opts-theme-data description theme-uri">' . __('<strong>Theme URL:</strong> ', WEBNUS_TEXT_DOMAIN) . '<a href="' . $theme_uri . '" target="_blank">' . $theme_uri . '</a></p>';
    $theme_info .= '<p class="nhp-opts-theme-data description theme-author">' . __('<strong>Author:</strong> ', WEBNUS_TEXT_DOMAIN) . $author . '</p>';
    $theme_info .= '<p class="nhp-opts-theme-data description theme-version">' . __('<strong>Version:</strong> ', WEBNUS_TEXT_DOMAIN) . $version . '</p>';
    $theme_info .= '<p class="nhp-opts-theme-data description theme-description">' . $description . '</p>';
    $theme_info .= '<p class="nhp-opts-theme-data description theme-tags">' . __('<strong>Tags:</strong> ', WEBNUS_TEXT_DOMAIN) . implode(', ', $tags) . '</p>';
    $theme_info .= '</div>';



    $tabs['theme_info'] = array(
        'icon' => NHP_OPTIONS_URL . 'img/admin-info.png',
        'title' => __('Theme Information', WEBNUS_TEXT_DOMAIN),
        'content' => $theme_info
    );



    global $NHP_Options;
    $NHP_Options = new NHP_Options($sections, $args, $tabs);
}

//function
add_action('init', 'setup_framework_options', 0);

/*
 *
 * Custom function for the callback referenced above
 *
 */

function my_custom_field($field, $value) {
    print_r($field);
    print_r($value);
}

//function

/*
 *
 * Custom function for the callback validation referenced above
 *
 */

function validate_callback_function($field, $value, $existing_value) {

    $error = false;
    $value = 'just testing';
    /*
      do your validation

      if(something){
      $value = $value;
      }elseif(somthing else){
      $error = true;
      $value = $existing_value;
      $field['msg'] = 'your custom error message';
      }
     */

    $return['value'] = $value;
    if ($error == true) {
        $return['error'] = $field;
    }
    return $return;
}

//function
?>