Submit
Path:
~
/
home
/
getwphos
/
public_html
/
deerguard
/
wp-content
/
plugins
/
garland-addon
/
admin
/
extension
/
metabox
/
File Content:
meta-config.php
<?php Garland_Options::$garland_options = get_post_meta( get_the_ID(), 'garland_post_meta', true ); // General Garland_Options::garland_set_section( array( 'title' => esc_html__( 'General', 'garland-addon' ), 'id' => 'general-tab' ) ); Garland_Options::garland_set_sub_section( array( 'title' => esc_html__( 'Site General', 'garland-addon' ), 'id' => 'site-general', 'fields' => array( array( 'id' => 'general-chk', 'type' => 'select', 'title' => esc_html__( 'Site General Settings', 'garland-addon' ), 'description' => esc_html__( 'Choose custom to edit site general settings options.', 'garland-addon' ), 'choices' => array( 'default' => esc_html__( 'Default', 'garland-addon' ), 'custom' => esc_html__( 'Custom', 'garland-addon' ) ), 'default' => 'default' ), array( 'id' => 'site-layout', 'type' => 'radioimage', 'title' => esc_html__( 'Site Layout', 'garland-addon' ), 'description' => esc_html__( 'Choose site layout either wide or boxed.', 'garland-addon' ), 'items' => array( 'wide' => array( 'title' => esc_html__( 'Wide', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/header/header-wide.png' ), 'boxed' => array( 'title' => esc_html__( 'Boxed', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/header/header-boxed.png' ), 'wider' => array( 'title' => esc_html__( 'Wider', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/header/header-wider.png' ) ), 'default' => 'wide', 'required' => array( 'general-chk', '=', array( 'custom' ) ) ), array( 'id' => 'content-padding', 'type' => 'dimension', 'title' => esc_html__( 'Content Padding', 'garland-addon' ), 'description' => esc_html__( 'Assign content padding. If need no padding means just leave this empty. Example 10 10 10 10', 'garland-addon' ), 'default' => '', 'required' => array( 'general-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-slider', 'type' => 'textarea', 'title' => esc_html__( 'Header Slider', 'garland-addon' ), 'description' => esc_html__( 'Enter shortcode for header slider.', 'garland-addon' ), 'default' => '', ) ) ) ); Garland_Options::garland_set_sub_section( array( 'title' => esc_html__( 'Logo Settings', 'garland-addon' ), 'id' => 'site-logo', 'fields' => array( array( 'id' => 'logo-chk', 'type' => 'select', 'title' => esc_html__( 'Site General Settings', 'garland-addon' ), 'description' => esc_html__( 'Choose custom to edit site logo settings options.', 'garland-addon' ), 'choices' => array( 'default' => esc_html__( 'Default', 'garland-addon' ), 'custom' => esc_html__( 'Custom', 'garland-addon' ) ), 'default' => 'default' ), array( 'id' => 'logo-settings', 'type' => 'label', 'title' => esc_html__( 'Logo Settings', 'garland-addon' ), 'description' => esc_html__( 'This is settings for site logo.', 'garland-addon' ), 'seperator' => 'after', 'required' => array( 'logo-chk', '=', array( 'custom' ) ) ), array( 'id' => 'site-logo', 'type' => 'image', 'title' => esc_html__( 'Default Logo', 'garland-addon' ), 'description' => esc_html__( 'Choose site logo image.', 'garland-addon' ), 'default' => '', 'required' => array( 'logo-chk', '=', array( 'custom' ) ) ), array( 'id' => 'site-logo-width', 'type' => 'hw', 'title' => esc_html__( 'Site Logo Maximum Width', 'garland-addon' ), 'description' => esc_html__( 'This is maximum width of logo. if you want original width leave this field empty.', 'garland-addon' ), 'only_dimension' => 'width', 'required' => array( 'logo-chk', '=', array( 'custom' ) ) ), array( 'id' => 'site-logo-desc', 'type' => 'toggle', 'title' => esc_html__( 'Enable Site Logo Description', 'garland-addon' ), 'description' => esc_html__( 'This is logo description options for this site. You can enable or disable.', 'garland-addon' ), 'required' => array( 'logo-chk', '=', array( 'custom' ) ) ), array( 'id' => 'sticky-logo', 'type' => 'image', 'title' => esc_html__( 'Sticky Logo', 'garland-addon' ), 'description' => esc_html__( 'Choose site sticky logo image.', 'garland-addon' ), 'default' => '', 'required' => array( 'logo-chk', '=', array( 'custom' ) ) ), array( 'id' => 'sticky-logo-width', 'type' => 'hw', 'title' => esc_html__( 'Sticky Logo Maximum Width', 'garland-addon' ), 'description' => esc_html__( 'This is maximum width of sticky logo. if you want original width leave this field empty.', 'garland-addon' ), 'only_dimension' => 'width', 'required' => array( 'logo-chk', '=', array( 'custom' ) ) ), array( 'id' => 'mobile-logo', 'type' => 'image', 'title' => esc_html__( 'Mobile Logo', 'garland-addon' ), 'description' => esc_html__( 'Choose site mobile logo image.', 'garland-addon' ), 'default' => '', 'required' => array( 'logo-chk', '=', array( 'custom' ) ) ), array( 'id' => 'mobile-logo-width', 'type' => 'hw', 'title' => esc_html__( 'Mobile Logo Maximum Width', 'garland-addon' ), 'description' => esc_html__( 'This is maximum width of mobile logo. if you want original width leave this field empty.', 'garland-addon' ), 'only_dimension' => 'width', 'required' => array( 'logo-chk', '=', array( 'custom' ) ) ), ) ) ); Garland_Options::garland_set_end_section( array( 'id' => 'general-tab-end' )); $garland_menus = get_terms( 'nav_menu', array( 'hide_empty' => true ) ); $garland_nav_menus = array( "none" => esc_html__( "None", "garland-addon" ) ); foreach( $garland_menus as $menu ){ $garland_nav_menus[$menu->slug] = $menu->name; } // Header Garland_Options::garland_set_section( array( 'title' => esc_html__( 'Header', 'garland-addon' ), 'id' => 'header-tab' ) ); Garland_Options::garland_set_sub_section( array( 'title' => esc_html__( 'General', 'garland-addon' ), 'id' => 'header-general', 'fields' => array( array( 'id' => 'header-chk', 'type' => 'select', 'title' => esc_html__( 'Header Settings', 'garland-addon' ), 'description' => esc_html__( 'Choose custom to edit header settings options.', 'garland-addon' ), 'choices' => array( 'default' => esc_html__( 'Default', 'garland-addon' ), 'custom' => esc_html__( 'Custom', 'garland-addon' ) ), 'default' => 'default' ), array( 'id' => 'header-one-page-menu', 'type' => 'select', 'title' => esc_html__( 'One Page Menu', 'garland-addon' ), 'description' => esc_html__( 'Choose custom to edit header settings options.', 'garland-addon' ), 'choices' => $garland_nav_menus, 'default' => 'none' ), array( 'id' => 'header-layout', 'type' => 'radioimage', 'title' => esc_html__( 'Header Layout', 'garland-addon' ), 'description' => esc_html__( 'Choose header layout either wide or boxed.', 'garland-addon' ), 'items' => array( 'wide' => array( 'title' => esc_html__( 'Wide', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/header/header-wide.png' ), 'wider' => array( 'title' => esc_html__( 'Wider', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/header/header-wider.png' ), 'boxed' => array( 'title' => esc_html__( 'Boxed', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/header/header-boxed.png' ) ), 'default' => 'wide', 'required' => array( 'header-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-items', 'type' => 'dragdrop', 'title' => esc_html__( 'Header Bars', 'garland-addon' ), 'description' => esc_html__( 'These are header items. Drag which items you want to display normal and sticky.', 'garland-addon' ), 'default' => array( 'normal' => array( 'topbar' => esc_html__( 'Topbar', 'garland-addon' ), 'logobar' => esc_html__( 'Logo bar', 'garland-addon' ) ), 'sticky' => array( 'navbar' => esc_html__( 'Navbar', 'garland-addon' ) ), 'disabled' => array( ) ), 'required' => array( 'header-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-absolute', 'type' => 'toggle', 'title' => esc_html__( 'Header Absolute', 'garland-addon' ), 'description' => esc_html__( 'Enable/Disable header absolute. Like floating on slider', 'garland-addon' ), 'default' => false, 'required' => array( 'header-chk', '=', array( 'custom' ) ) ), array( 'id' => 'search-type', 'type' => 'select', 'title' => esc_html__( 'Search Toggle Modal', 'garland-addon' ), 'description' => esc_html__( 'Slect search box type', 'garland-addon' ), 'choices' => array( '1' => esc_html__( 'Full Screen Search', 'garland-addon' ), '2' => esc_html__( 'Text Box Toggle Search', 'garland-addon' ), '3' => esc_html__( 'Full Bar Toggle Search', 'garland-addon' ), '4' => esc_html__( 'Bottom Seach Box Toggle', 'garland-addon' ) ), 'default' => '1', 'required' => array( 'header-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-style-label-field', 'type' => 'label', 'title' => esc_html__( 'Styles', 'garland-addon' ), 'description' => esc_html__( 'Here you can set all the type of header styles.', 'garland-addon' ), 'seperator' => 'before' ), array( 'id' => 'header-style-chk', 'type' => 'select', 'title' => esc_html__( 'Header Style Settings', 'garland-addon' ), 'description' => esc_html__( 'Choose custom to edit header style settings options.', 'garland-addon' ), 'choices' => array( 'default' => esc_html__( 'Default', 'garland-addon' ), 'custom' => esc_html__( 'Custom', 'garland-addon' ) ), 'default' => 'default' ), array( 'id' => 'header-links-color', 'type' => 'link', 'title' => esc_html__( 'Header Link Color', 'garland-addon' ), 'description' => esc_html__( 'This is link color setting for header', 'garland-addon' ), 'default' => '', 'required' => array( 'header-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-background', 'type' => 'background', 'title' => esc_html__( 'Header Background Color', 'garland-addon' ), 'description' => esc_html__( 'This is background setting for header', 'garland-addon' ), 'default' => '', 'required' => array( 'header-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-border', 'type' => 'border', 'title' => esc_html__( 'Header Border', 'garland-addon' ), 'description' => esc_html__( 'This is border setting for header', 'garland-addon' ), 'default' => '', 'required' => array( 'header-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-padding', 'type' => 'dimension', 'title' => esc_html__( 'Header padding', 'garland-addon' ), 'description' => esc_html__( 'This is padding setting for header', 'garland-addon' ), 'default' => '', 'required' => array( 'header-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-margin', 'type' => 'dimension', 'title' => esc_html__( 'Header margin', 'garland-addon' ), 'description' => esc_html__( 'This is margin setting for header', 'garland-addon' ), 'default' => '', 'required' => array( 'header-style-chk', '=', array( 'custom' ) ) ) ) ) ); Garland_Options::garland_set_sub_section( array( 'title' => esc_html__( 'Topbar', 'garland-addon' ), 'id' => 'header-topbar', 'fields' => array( array( 'id' => 'header-topbar-chk', 'type' => 'select', 'title' => esc_html__( 'Header Topbar Settings', 'garland-addon' ), 'description' => esc_html__( 'Choose custom to edit header topbar settings.', 'garland-addon' ), 'choices' => array( 'default' => esc_html__( 'Default', 'garland-addon' ), 'custom' => esc_html__( 'Custom', 'garland-addon' ) ), 'default' => 'default' ), array( 'id' => 'topbar-custom-text-1', 'type' => 'textarea', 'title' => esc_html__( 'Topbar Custom Text 1', 'garland-addon' ), 'description' => esc_html__( 'This is topbar custom text field. Here you can place shortcodes too', 'garland-addon' ), 'default' => '', 'required' => array( 'header-topbar-chk', '=', array( 'custom' ) ) ), array( 'id' => 'topbar-custom-text-2', 'type' => 'textarea', 'title' => esc_html__( 'Topbar Custom Text 2', 'garland-addon' ), 'description' => esc_html__( 'This is topbar custom text field. Here you can place shortcodes too', 'garland-addon' ), 'default' => '', 'required' => array( 'header-topbar-chk', '=', array( 'custom' ) ) ), array( 'id' => 'topbar-items', 'type' => 'dragdrop', 'title' => esc_html__( 'Topbar Items', 'garland-addon' ), 'description' => esc_html__( 'These all are topbar items. You can make your own layout by drag and drop', 'garland-addon' ), 'default' => array( 'left' => array( 'custom-text-1' => esc_html__( 'Custom Text 1', 'garland-addon' ) ), 'center' => array( ), 'right' => array( 'social' => esc_html__( 'Social', 'garland-addon' ) ), 'disabled' => array( 'address' => esc_html__( 'Address', 'garland-addon' ), 'email' => esc_html__( 'Email', 'garland-addon' ), 'search' => esc_html__( 'Search', 'garland-addon' ), 'top-menu' => esc_html__( 'Top Menu', 'garland-addon' ), 'custom-text-2' => esc_html__( 'Custom Text 2', 'garland-addon' ) ) ), 'required' => array( 'header-topbar-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-topbar-style-label-field', 'type' => 'label', 'title' => esc_html__( 'Topbar Styles', 'garland-addon' ), 'description' => esc_html__( 'Here you can set all the type of header topbar styles.', 'garland-addon' ), 'seperator' => 'before' ), array( 'id' => 'header-topbar-style-chk', 'type' => 'select', 'title' => esc_html__( 'Topbar Style Settings', 'garland-addon' ), 'description' => esc_html__( 'Choose custom to edit header topbar style settings.', 'garland-addon' ), 'choices' => array( 'default' => esc_html__( 'Default', 'garland-addon' ), 'custom' => esc_html__( 'Custom', 'garland-addon' ) ), 'default' => 'default' ), array( 'id' => 'header-topbar-height', 'type' => 'hw', 'title' => esc_html__( 'Header Topbar Height', 'garland-addon' ), 'description' => esc_html__( 'This is height property of header topbar.', 'garland-addon' ), 'only_dimension' => 'height', 'required' => array( 'header-topbar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-topbar-sticky-height', 'type' => 'hw', 'title' => esc_html__( 'Header Topbar Sticky Height', 'garland-addon' ), 'description' => esc_html__( 'This is height property of header sticky topbar.', 'garland-addon' ), 'only_dimension' => 'height' ), array( 'id' => 'header-topbar-links-color', 'type' => 'link', 'title' => esc_html__( 'Topbar Link Color', 'garland-addon' ), 'description' => esc_html__( 'This is link color setting for header topbar', 'garland-addon' ), 'default' => '', 'required' => array( 'header-topbar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-topbar-background', 'type' => 'background', 'title' => esc_html__( 'Topbar Background Color', 'garland-addon' ), 'description' => esc_html__( 'This is background setting for header topbar', 'garland-addon' ), 'default' => '', 'required' => array( 'header-topbar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-topbar-border', 'type' => 'border', 'title' => esc_html__( 'Topbar Border', 'garland-addon' ), 'description' => esc_html__( 'This is border setting for header topbar', 'garland-addon' ), 'default' => '', 'required' => array( 'header-topbar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-topbar-padding', 'type' => 'dimension', 'title' => esc_html__( 'Topbar padding', 'garland-addon' ), 'description' => esc_html__( 'This is padding setting for header topbar', 'garland-addon' ), 'default' => '', 'required' => array( 'header-topbar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-topbar-margin', 'type' => 'dimension', 'title' => esc_html__( 'Topbar margin', 'garland-addon' ), 'description' => esc_html__( 'This is margin setting for header topbar', 'garland-addon' ), 'default' => '', 'required' => array( 'header-topbar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-topbar-sticky-style-label-field', 'type' => 'label', 'title' => esc_html__( 'Topbar Sticky Styles', 'garland-addon' ), 'description' => esc_html__( 'Here you can set all the type of header topbar sticky styles.', 'garland-addon' ), 'seperator' => 'before', 'required' => array( 'header-topbar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-topbar-sticky-links-color', 'type' => 'link', 'title' => esc_html__( 'Topbar Sticky Link Color', 'garland-addon' ), 'description' => esc_html__( 'This is link color setting for header topbar on sticky', 'garland-addon' ), 'default' => '', 'required' => array( 'header-topbar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-topbar-sticky-background', 'type' => 'background', 'title' => esc_html__( 'Topbar Sticky Background Color', 'garland-addon' ), 'description' => esc_html__( 'This is background setting for header topbar on sticky', 'garland-addon' ), 'default' => '', 'required' => array( 'header-topbar-style-chk', '=', array( 'custom' ) ) ), ) ) ); Garland_Options::garland_set_sub_section( array( 'title' => esc_html__( 'Logo bar', 'garland-addon' ), 'id' => 'header-logobar', 'fields' => array( array( 'id' => 'header-logobar-chk', 'type' => 'select', 'title' => esc_html__( 'Header Logo bar Settings', 'garland-addon' ), 'description' => esc_html__( 'Choose custom to edit header logo bar settings.', 'garland-addon' ), 'choices' => array( 'default' => esc_html__( 'Default', 'garland-addon' ), 'custom' => esc_html__( 'Custom', 'garland-addon' ) ), 'default' => 'default' ), array( 'id' => 'logobar-custom-text-1', 'type' => 'textarea', 'title' => esc_html__( 'Logobar Custom Text1', 'garland-addon' ), 'description' => esc_html__( 'This is logo custom text field. Here you can place shortcodes too', 'garland-addon' ), 'default' => '', 'required' => array( 'header-logobar-chk', '=', array( 'custom' ) ) ), array( 'id' => 'logobar-custom-text-2', 'type' => 'textarea', 'title' => esc_html__( 'Logobar Custom Text2', 'garland-addon' ), 'description' => esc_html__( 'This is logo custom text field. Here you can place shortcodes too', 'garland-addon' ), 'default' => '', 'required' => array( 'header-logobar-chk', '=', array( 'custom' ) ) ), array( 'id' => 'logobar-items', 'type' => 'dragdrop', 'title' => esc_html__( 'Logo bar Items', 'garland-addon' ), 'description' => esc_html__( 'These all are logobar items. You can make your own layout by drag and drop', 'garland-addon' ), 'default' => array( 'left' => array( ), 'center' => array( 'logo' => esc_html__( 'Logo', 'garland-addon' ) ), 'right' => array( ), 'disabled' => array( 'social' => esc_html__( 'Social', 'garland-addon' ), 'address' => esc_html__( 'Address', 'garland-addon' ), 'email' => esc_html__( 'Email', 'garland-addon' ), 'search' => esc_html__( 'Search', 'garland-addon' ), 'primary-menu' => esc_html__( 'Primary Menu', 'garland-addon' ), 'secondary-bar' => esc_html__( 'Secondary Bar', 'garland-addon' ), 'signin' => esc_html__( 'Signin/Register', 'garland-addon' ), 'custom-text-2' => esc_html__( 'Custom Text 2', 'garland-addon' ), 'custom-text-1' => esc_html__( 'Custom Text 1', 'garland-addon' ), ) ), 'required' => array( 'header-logobar-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-logobar-style-label-field', 'type' => 'label', 'title' => esc_html__( 'Logo bar Styles', 'garland-addon' ), 'description' => esc_html__( 'Here you can set all the type of header logobar styles.', 'garland-addon' ), 'seperator' => 'before' ), array( 'id' => 'header-logobar-style-chk', 'type' => 'select', 'title' => esc_html__( 'Logo bar Style Settings', 'garland-addon' ), 'description' => esc_html__( 'Choose custom to edit header logo bar style settings.', 'garland-addon' ), 'choices' => array( 'default' => esc_html__( 'Default', 'garland-addon' ), 'custom' => esc_html__( 'Custom', 'garland-addon' ) ), 'default' => 'default' ), array( 'id' => 'header-logobar-height', 'type' => 'hw', 'title' => esc_html__( 'Header Logo bar Height', 'garland-addon' ), 'description' => esc_html__( 'This is height property of header logobar.', 'garland-addon' ), 'only_dimension' => 'height', 'required' => array( 'header-logobar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-logobar-sticky-height', 'type' => 'hw', 'title' => esc_html__( 'Header Logo bar Sticky Height', 'garland-addon' ), 'description' => esc_html__( 'This is height property of header sticky logobar.', 'garland-addon' ), 'only_dimension' => 'height' ), array( 'id' => 'header-logobar-links-color', 'type' => 'link', 'title' => esc_html__( 'Logo bar Link Color', 'garland-addon' ), 'description' => esc_html__( 'This is link color setting for header logobar', 'garland-addon' ), 'default' => '', 'required' => array( 'header-logobar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-logobar-background', 'type' => 'background', 'title' => esc_html__( 'Header Background Color', 'garland-addon' ), 'description' => esc_html__( 'This is background setting for header logobar', 'garland-addon' ), 'default' => '', 'required' => array( 'header-logobar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-logobar-border', 'type' => 'border', 'title' => esc_html__( 'Logo bar Border', 'garland-addon' ), 'description' => esc_html__( 'This is border setting for header logobar', 'garland-addon' ), 'default' => '', 'required' => array( 'header-logobar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-logobar-padding', 'type' => 'dimension', 'title' => esc_html__( 'Logo bar padding', 'garland-addon' ), 'description' => esc_html__( 'This is padding setting for header logobar', 'garland-addon' ), 'default' => '', 'required' => array( 'header-logobar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-logobar-margin', 'type' => 'dimension', 'title' => esc_html__( 'Logo bar margin', 'garland-addon' ), 'description' => esc_html__( 'This is margin setting for header logobar', 'garland-addon' ), 'default' => '', 'required' => array( 'header-logobar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-logobar-sticky-style-label-field', 'type' => 'label', 'title' => esc_html__( 'Logobar Sticky Styles', 'garland-addon' ), 'description' => esc_html__( 'Here you can set all the type of header logobar sticky styles.', 'garland-addon' ), 'seperator' => 'before', 'required' => array( 'header-logobar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-logobar-sticky-links-color', 'type' => 'link', 'title' => esc_html__( 'Logobar Sticky Link Color', 'garland-addon' ), 'description' => esc_html__( 'This is link color setting for header logobar on sticky', 'garland-addon' ), 'default' => '', 'required' => array( 'header-logobar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-logobar-sticky-background', 'type' => 'background', 'title' => esc_html__( 'Logobar Sticky Background Color', 'garland-addon' ), 'description' => esc_html__( 'This is background setting for header logobar on sticky', 'garland-addon' ), 'default' => '', 'required' => array( 'header-logobar-style-chk', '=', array( 'custom' ) ) ), ) ) ); Garland_Options::garland_set_sub_section( array( 'title' => esc_html__( 'Navbar', 'garland-addon' ), 'id' => 'header-navbar', 'fields' => array( array( 'id' => 'header-navbar-chk', 'type' => 'select', 'title' => esc_html__( 'Header Navbar Settings', 'garland-addon' ), 'description' => esc_html__( 'Choose custom to edit header navbar settings.', 'garland-addon' ), 'choices' => array( 'default' => esc_html__( 'Default', 'garland-addon' ), 'custom' => esc_html__( 'Custom', 'garland-addon' ) ), 'default' => 'default' ), array( 'id' => 'navbar-custom-text-1', 'type' => 'textarea', 'title' => esc_html__( 'Navbar Custom Text 1', 'garland-addon' ), 'description' => esc_html__( 'This is nav custom text field. Here you can place shortcodes too', 'garland-addon' ), 'default' => '', 'required' => array( 'header-navbar-chk', '=', array( 'custom' ) ) ), array( 'id' => 'navbar-custom-text-2', 'type' => 'textarea', 'title' => esc_html__( 'Navbar Custom Text 2', 'garland-addon' ), 'description' => esc_html__( 'This is nav custom text field. Here you can place shortcodes too', 'garland-addon' ), 'default' => '', 'required' => array( 'header-navbar-chk', '=', array( 'custom' ) ) ), array( 'id' => 'navbar-items', 'type' => 'dragdrop', 'title' => esc_html__( 'Nav bar Items', 'garland-addon' ), 'description' => esc_html__( 'These all are navbar items. You can make your own layout by drag and drop', 'garland-addon' ), 'default' => array( 'left' => array( 'logo' => esc_html__( 'Logo', 'garland-addon' ), 'primary-menu' => esc_html__( 'Primary Menu', 'garland-addon' ) ), 'center' => array( ), 'right' => array( 'search' => esc_html__( 'Search', 'garland-addon' ), ), 'disabled' => array( 'social' => esc_html__( 'Social', 'garland-addon' ), 'address' => esc_html__( 'Address', 'garland-addon' ), 'email' => esc_html__( 'Email', 'garland-addon' ), 'secondary-bar' => esc_html__( 'Secondary Bar', 'garland-addon' ), 'signin' => esc_html__( 'Signin/Register', 'garland-addon' ), 'custom-text-2' => esc_html__( 'Custom Text 2', 'garland-addon' ), 'custom-text-1' => esc_html__( 'Custom Text 1', 'garland-addon' ), ) ), 'required' => array( 'header-navbar-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-navbar-style-label-field', 'type' => 'label', 'title' => esc_html__( 'Navbar Styles', 'garland-addon' ), 'description' => esc_html__( 'Here you can set all the type of header navbar styles.', 'garland-addon' ), 'seperator' => 'before' ), array( 'id' => 'header-navbar-style-chk', 'type' => 'select', 'title' => esc_html__( 'Navbar Style Settings', 'garland-addon' ), 'description' => esc_html__( 'Choose custom to edit header logo bar style settings.', 'garland-addon' ), 'choices' => array( 'default' => esc_html__( 'Default', 'garland-addon' ), 'custom' => esc_html__( 'Custom', 'garland-addon' ) ), 'default' => 'default' ), array( 'id' => 'header-navbar-height', 'type' => 'hw', 'title' => esc_html__( 'Header Navbar Height', 'garland-addon' ), 'description' => esc_html__( 'This is height property of header navbar.', 'garland-addon' ), 'only_dimension' => 'height', 'required' => array( 'header-navbar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-navbar-sticky-height', 'type' => 'hw', 'title' => esc_html__( 'Header Navbar Sticky Height', 'garland-addon' ), 'description' => esc_html__( 'This is height property of header sticky navbar.', 'garland-addon' ), 'only_dimension' => 'height' ), array( 'id' => 'header-navbar-links-color', 'type' => 'link', 'title' => esc_html__( 'Navbar Link Color', 'garland-addon' ), 'description' => esc_html__( 'This is link color setting for header navbar', 'garland-addon' ), 'default' => '', 'required' => array( 'header-navbar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-navbar-background', 'type' => 'background', 'title' => esc_html__( 'Header Background Color', 'garland-addon' ), 'description' => esc_html__( 'This is background setting for header navbar', 'garland-addon' ), 'default' => '', 'required' => array( 'header-navbar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-navbar-border', 'type' => 'border', 'title' => esc_html__( 'Navbar Border', 'garland-addon' ), 'description' => esc_html__( 'This is border setting for header navbar', 'garland-addon' ), 'default' => '', 'required' => array( 'header-navbar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-navbar-padding', 'type' => 'dimension', 'title' => esc_html__( 'Navbar padding', 'garland-addon' ), 'description' => esc_html__( 'This is padding setting for header navbar', 'garland-addon' ), 'default' => '', 'required' => array( 'header-navbar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-navbar-margin', 'type' => 'dimension', 'title' => esc_html__( 'Navbar margin', 'garland-addon' ), 'description' => esc_html__( 'This is margin setting for header navbar', 'garland-addon' ), 'default' => '', 'required' => array( 'header-navbar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-navbar-sticky-style-label-field', 'type' => 'label', 'title' => esc_html__( 'Navbar Sticky Styles', 'garland-addon' ), 'description' => esc_html__( 'Here you can set all the type of header navbar sticky styles.', 'garland-addon' ), 'seperator' => 'before', 'required' => array( 'header-navbar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-navbar-sticky-links-color', 'type' => 'link', 'title' => esc_html__( 'Navbar Sticky Link Color', 'garland-addon' ), 'description' => esc_html__( 'This is link color setting for header navbar on sticky', 'garland-addon' ), 'default' => '', 'required' => array( 'header-navbar-style-chk', '=', array( 'custom' ) ) ), array( 'id' => 'header-navbar-sticky-background', 'type' => 'background', 'title' => esc_html__( 'Navbar Sticky Background Color', 'garland-addon' ), 'description' => esc_html__( 'This is background setting for header navbar on sticky', 'garland-addon' ), 'default' => '', 'required' => array( 'header-navbar-style-chk', '=', array( 'custom' ) ) ), ) ) ); Garland_Options::garland_set_end_section( array( 'id' => 'header-tab-end' )); //Layout Settings Garland_Options::garland_set_section( array( 'title' => esc_html__( 'Layout', 'garland-addon' ), 'id' => 'post-layout' ) ); Garland_Options::garland_set_sub_section( array( 'title' => esc_html__( 'Page Title', 'garland-addon' ), 'id' => 'page-title-options', 'fields' => array( array( 'id' => 'page-title-chk', 'type' => 'select', 'title' => esc_html__( 'Page Title', 'garland-addon' ), 'description' => esc_html__( 'Choose custom to edit page title options.', 'garland-addon' ), 'choices' => array( 'default' => esc_html__( 'Default', 'garland-addon' ), 'custom' => esc_html__( 'Custom', 'garland-addon' ) ), 'default' => 'default' ), array( 'id' => 'page-title', 'type' => 'toggle', 'title' => esc_html__( 'Enable/Disable Page Title', 'garland-addon' ), 'description' => esc_html__( 'Enable or disable blog page title section', 'garland-addon' ), 'default' => true, 'required' => array( 'page-title-chk', '=', array( 'custom' ) ) ), array( 'id' => 'page-title-items', 'type' => 'dragdrop', 'title' => esc_html__( 'Blog Page Title Elements', 'garland-addon' ), 'description' => esc_html__( 'These are blog page title elements. Drag which items you want to display left, center and right part.', 'garland-addon' ), 'default' => array( 'left' => array( ), 'center' => array( 'title' => esc_html__( 'Title', 'garland-addon' ), 'breadcrumb' => esc_html__( 'Breadcrumb', 'garland-addon' ) ), 'right' => array( ), 'disabled' => array( 'description' => esc_html__( 'Description', 'garland-addon' ) ) ), 'required' => array( 'page-title', '=', array( 'true' ) ) ), array( 'id' => 'page-title-bg', 'type' => 'background', 'title' => esc_html__( 'Page Title Background', 'garland-addon' ), 'description' => esc_html__( 'This is background settings of page title.', 'garland-addon' ), 'required' => array( 'page-title', '=', array( 'true' ) ) ), array( 'id' => 'page-title-custom-class', 'type' => 'text', 'title' => esc_html__( 'Page Title Custom Class', 'garland-addon' ), 'description' => esc_html__( 'This is setting for add custom class name to page title wrapper.', 'garland-addon' ), 'required' => array( 'page-title', '=', array( 'true' ) ) ), ) ) ); Garland_Options::garland_set_sub_section( array( 'title' => esc_html__( 'Sidebar Layout', 'garland-addon' ), 'id' => 'sidebar-layout-options', 'fields' => array( array( 'id' => 'sidebar-chk', 'type' => 'select', 'title' => esc_html__( 'Sidebar', 'garland-addon' ), 'description' => esc_html__( 'Choose custom to edit sidebar layout options.', 'garland-addon' ), 'choices' => array( 'default' => esc_html__( 'Default', 'garland-addon' ), 'custom' => esc_html__( 'Custom', 'garland-addon' ) ), 'default' => 'default' ), array( 'id' => 'sidebar-layout', 'type' => 'radioimage', 'title' => esc_html__( 'Sidebar Layout', 'garland-addon' ), 'description' => esc_html__( 'Choose sidebar layout.', 'garland-addon' ), 'items' => array( 'right-sidebar' => array( 'title' => esc_html__( 'Right Sidebar', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/sidebars/sidebar-right.png' ), 'left-sidebar' => array( 'title' => esc_html__( 'Left Sidebar', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/sidebars/sidebar-left.png' ), 'both-sidebar' => array( 'title' => esc_html__( 'Both Sidebar', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/sidebars/sidebar-both.png' ), 'no-sidebar' => array( 'title' => esc_html__( 'No Sidebar', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/sidebars/no-sidebar.png' ) ), 'default' => 'right-sidebar', 'required' => array( 'sidebar-chk', '=', array( 'custom' ) ) ), array( 'id' => 'right-sidebar', 'type' => 'sidebars', 'title' => esc_html__( 'Right Widgets Area', 'garland-addon' ), 'description' => esc_html__( 'Choose widget for right widget area', 'garland-addon' ), 'default' => '', 'required' => array( 'sidebar-layout', '=', array( 'right-sidebar', 'both-sidebar' ) ) ), array( 'id' => 'left-sidebar', 'type' => 'sidebars', 'title' => esc_html__( 'Left Widgets Area', 'garland-addon' ), 'description' => esc_html__( 'Choose widget for left widget area', 'garland-addon' ), 'default' => '', 'required' => array( 'sidebar-layout', '=', array( 'left-sidebar', 'both-sidebar' ) ) ) ) ) ); Garland_Options::garland_set_end_section( array( 'id' => 'post-layout-end' )); // Footer Garland_Options::garland_set_section( array( 'title' => esc_html__( 'Footer', 'garland-addon' ), 'id' => 'footer-tab' ) ); Garland_Options::garland_set_sub_section( array( 'title' => esc_html__( 'General', 'garland-addon' ), 'id' => 'footer-general', 'fields' => array( array( 'id' => 'footer-chk', 'type' => 'select', 'title' => esc_html__( 'Footer Settings', 'garland-addon' ), 'description' => esc_html__( 'Choose custom to edit footer settings options.', 'garland-addon' ), 'choices' => array( 'default' => esc_html__( 'Default', 'garland-addon' ), 'custom' => esc_html__( 'Custom', 'garland-addon' ) ), 'default' => 'default' ), array( 'id' => 'footer-layout', 'type' => 'radioimage', 'title' => esc_html__( 'Footer Layout', 'garland-addon' ), 'description' => esc_html__( 'Choose footer layout either wide or boxed.', 'garland-addon' ), 'items' => array( 'wide' => array( 'title' => esc_html__( 'Wide', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/footer-wide.png' ), 'boxed' => array( 'title' => esc_html__( 'Boxed', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/footer-boxed.png' ) ), 'default' => 'wide', 'required' => array( 'footer-chk', '=', array( 'custom' ) ) ), array( 'id' => 'footer-items', 'type' => 'dragdrop', 'title' => esc_html__( 'Footer Items', 'garland-addon' ), 'description' => esc_html__( 'These are footer items. Drag which items you want to display Enabled and Disabled.', 'garland-addon' ), 'default' => array( 'enabled' => array( 'footer-middle' => esc_html__( 'Footer Widgets', 'garland-addon' ), 'footer-bottom' => esc_html__( 'Copyright Section', 'garland-addon' ) ), 'disabled' => array( 'footer-top' => esc_html__( 'Footer Top', 'garland-addon' ), ) ), 'required' => array( 'footer-chk', '=', array( 'custom' ) ) ), ) ) ); Garland_Options::garland_set_sub_section( array( 'title' => esc_html__( 'Footer Top', 'garland-addon' ), 'id' => 'footer-insta', 'fields' => array( array( 'id' => 'insta-footer-chk', 'type' => 'select', 'title' => esc_html__( 'Footer Top Settings', 'garland-addon' ), 'description' => esc_html__( 'Choose custom to edit insta footer settings options.', 'garland-addon' ), 'choices' => array( 'default' => esc_html__( 'Default', 'garland-addon' ), 'custom' => esc_html__( 'Custom', 'garland-addon' ) ), 'default' => 'default' ), array( 'id' => 'insta-footer-layout', 'type' => 'radioimage', 'title' => esc_html__( 'Footer Top Layout', 'garland-addon' ), 'description' => esc_html__( 'Choose insta footer layout either wide or boxed.', 'garland-addon' ), 'items' => array( 'wide' => array( 'title' => esc_html__( 'Wide', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/footer-wide.png' ), 'boxed' => array( 'title' => esc_html__( 'Boxed', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/footer-boxed.png' ) ), 'default' => 'wide', 'required' => array( 'insta-footer-chk', '=', array( 'custom' ) ) ), ) ) ); Garland_Options::garland_set_sub_section( array( 'title' => esc_html__( 'Footer Widgets', 'garland-addon' ), 'id' => 'footer-widgets', 'fields' => array( array( 'id' => 'footer-middle-chk', 'type' => 'select', 'title' => esc_html__( 'Footer Widgets Settings', 'garland-addon' ), 'description' => esc_html__( 'Choose custom to edit footer middle settings options.', 'garland-addon' ), 'choices' => array( 'default' => esc_html__( 'Default', 'garland-addon' ), 'custom' => esc_html__( 'Custom', 'garland-addon' ) ), 'default' => 'default' ), array( 'id' => 'widgets-footer-layout', 'type' => 'radioimage', 'title' => esc_html__( 'Widgets Footer Layout', 'garland-addon' ), 'description' => esc_html__( 'Choose widgets footer layout either wide or boxed.', 'garland-addon' ), 'items' => array( 'wide' => array( 'title' => esc_html__( 'Wide', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/footer-wide.png' ), 'boxed' => array( 'title' => esc_html__( 'Boxed', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/footer-boxed.png' ) ), 'default' => 'boxed', 'required' => array( 'footer-middle-chk', '=', array( 'custom' ) ) ), array( 'id' => 'footer-widgets-layout', 'type' => 'radioimage', 'title' => esc_html__( 'Footer Widgets Layout', 'garland-addon' ), 'description' => esc_html__( 'Choose footer widgets layout.', 'garland-addon' ), 'items' => array( '3-3-3-3' => array( 'title' => esc_html__( 'Column 3/3/3/3', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/widget-3-3-3-3.png' ), '3-3-6' => array( 'title' => esc_html__( 'Column 3/3/6', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/widget-3-3-6.png' ), '12' => array( 'title' => esc_html__( 'Column 12', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/widget-12.png' ), '4-4-4' => array( 'title' => esc_html__( 'Column 4/4/4', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/widget-4-4-4.png' ), '4-8' => array( 'title' => esc_html__( 'Column4/8', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/widget-4-8.png' ), '6-3-3' => array( 'title' => esc_html__( 'Column 6/3/3', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/widget-6-3-3.png' ), '8-4' => array( 'title' => esc_html__( 'Column 8/4', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/widget-8-4.png' ) ), 'default' => '12', 'required' => array( 'footer-middle-chk', '=', array( 'custom' ) ) ), array( 'id' => 'footer-widget-1', 'type' => 'sidebars', 'title' => esc_html__( 'Footer Widgets Area 1', 'garland-addon' ), 'description' => esc_html__( 'Choose widget for footer widget area 1', 'garland-addon' ), 'default' => '', 'required' => array( 'footer-middle-chk', '=', array( 'custom' ) ) ), array( 'id' => 'footer-widget-2', 'type' => 'sidebars', 'title' => esc_html__( 'Footer Widgets Area 2', 'garland-addon' ), 'description' => esc_html__( 'Choose widget for footer widget area 2', 'garland-addon' ), 'default' => '', 'required' => array( 'footer-widgets-layout', '!=', array( '12' ) ) ), array( 'id' => 'footer-widget-3', 'type' => 'sidebars', 'title' => esc_html__( 'Footer Widgets Area 3', 'garland-addon' ), 'description' => esc_html__( 'Choose widget for footer widget area 3', 'garland-addon' ), 'default' => '', 'required' => array( 'footer-widgets-layout', '=', array( '3-3-3-3', '3-3-6', '4-4-4', '6-3-3' ) ) ), array( 'id' => 'footer-widget-4', 'type' => 'sidebars', 'title' => esc_html__( 'Footer Widgets Area 4', 'garland-addon' ), 'description' => esc_html__( 'Choose widget for footer widget area 4', 'garland-addon' ), 'default' => '', 'required' => array( 'footer-widgets-layout', '=', array( '3-3-3-3' ) ) ), ) ) ); Garland_Options::garland_set_sub_section( array( 'title' => esc_html__( 'Copyright Section', 'garland-addon' ), 'id' => 'copyright-section', 'fields' => array( array( 'id' => 'footer-bottom-chk', 'type' => 'select', 'title' => esc_html__( 'Footer Widgets Settings', 'garland-addon' ), 'description' => esc_html__( 'Choose custom to edit footer middle settings options.', 'garland-addon' ), 'choices' => array( 'default' => esc_html__( 'Default', 'garland-addon' ), 'custom' => esc_html__( 'Custom', 'garland-addon' ) ), 'default' => 'default' ), array( 'id' => 'footer-bottom-layout', 'type' => 'radioimage', 'title' => esc_html__( 'Footer Bottom Layout', 'garland-addon' ), 'description' => esc_html__( 'Choose footer bottom layout either wide or boxed.', 'garland-addon' ), 'items' => array( 'wide' => array( 'title' => esc_html__( 'Wide', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/footer-wide.png' ), 'boxed' => array( 'title' => esc_html__( 'Boxed', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/footer/footer-boxed.png' ) ), 'default' => 'boxed', 'required' => array( 'footer-bottom-chk', '=', array( 'custom' ) ) ), ) ) ); Garland_Options::garland_set_end_section( array( 'id' => 'footer-end' )); /* //All Fields Garland_Options::garland_set_section( array( 'title' => esc_html__( 'All Fields', 'garland-addon' ), 'id' => 'all-fields' ) ); Garland_Options::garland_set_sub_section( array( 'title' => esc_html__( 'Fields', 'garland-addon' ), 'id' => 'un-fields-tab', 'fields' => array( array( 'id' => 'test_text_field', 'type' => 'text', 'title' => esc_html__( 'Text Field', 'garland-addon' ), 'description' => esc_html__( 'This is text field', 'garland-addon' ), 'default' => '' ), array( 'id' => 'test_textarea_field', 'type' => 'textarea', 'title' => esc_html__( 'Textarea Field', 'garland-addon' ), 'description' => esc_html__( 'This is textarea field', 'garland-addon' ), 'default' => '' ), array( 'id' => 'test_select_field', 'type' => 'select', 'title' => esc_html__( 'Select Field', 'garland-addon' ), 'description' => esc_html__( 'This is select field', 'garland-addon' ), 'choices' => array( '1' => 'One', '2' => 'Two', '3' => 'Three' ), 'default' => '2' ), array( 'id' => 'test_color_field', 'type' => 'color', 'title' => esc_html__( 'Color Field', 'garland-addon' ), 'description' => esc_html__( 'This is color field', 'garland-addon' ), 'alpha' => false, 'default' => '#111111' ), array( 'id' => 'test_link_field', 'type' => 'link', 'title' => esc_html__( 'Link Field', 'garland-addon' ), 'description' => esc_html__( 'This is link field', 'garland-addon' ), 'default' => '' ), array( 'id' => 'ajax-trigger-fonts-test', 'type' => 'fonts', 'title' => esc_html__( 'Google Fonts Field', 'garland-addon' ), 'description' => esc_html__( 'This is fonts field', 'garland-addon' ), 'default' => '' ), array( 'id' => 'background_test', 'type' => 'background', 'title' => esc_html__( 'Background Field', 'garland-addon' ), 'description' => esc_html__( 'This is background field', 'garland-addon' ), 'default' => '' ), array( 'id' => 'image_test', 'type' => 'image', 'title' => esc_html__( 'Image Field', 'garland-addon' ), 'description' => esc_html__( 'This is image field', 'garland-addon' ), 'default' => '' ), array( 'id' => 'border_test', 'type' => 'border', 'title' => esc_html__( 'Border Field', 'garland-addon' ), 'description' => esc_html__( 'This is border field', 'garland-addon' ), 'default' => '' ), array( 'id' => 'dimension_test', 'type' => 'dimension', 'title' => esc_html__( 'Dimension Field', 'garland-addon' ), 'description' => esc_html__( 'This is dimension field', 'garland-addon' ), 'default' => '' ), array( 'id' => 'hw_test', 'type' => 'hw', 'title' => esc_html__( 'Width/Height Field', 'garland-addon' ), 'description' => esc_html__( 'This is width height field', 'garland-addon' ), 'only_dimension' => 'both' ), array( 'id' => 'toggle_test', 'type' => 'toggle', 'title' => esc_html__( 'Toggle Field', 'garland-addon' ), 'description' => esc_html__( 'This is toggle field', 'garland-addon' ) ), array( 'id' => 'sidebars_test', 'type' => 'sidebars', 'title' => esc_html__( 'Sidebars Field', 'garland-addon' ), 'description' => esc_html__( 'This is sidebars field', 'garland-addon' ), 'default' => '' ), array( 'id' => 'pages_test', 'type' => 'pages', 'title' => esc_html__( 'Pages Field', 'garland-addon' ), 'description' => esc_html__( 'This is pages field', 'garland-addon' ), 'default' => '' ), array( 'id' => 'multicheck_test', 'type' => 'multicheck', 'title' => esc_html__( 'Multi Check Field', 'garland-addon' ), 'description' => esc_html__( 'This is multi check box field', 'garland-addon' ), 'items' => array( 'one' => esc_html__( 'One', 'garland-addon' ), 'two' => esc_html__( 'Two', 'garland-addon' ), 'three' => esc_html__( 'Three', 'garland-addon' ), 'four' => esc_html__( 'Four', 'garland-addon' ), 'five' => esc_html__( 'Five', 'garland-addon' ) ) ), array( 'id' => 'radioimage_test', 'type' => 'radioimage', 'title' => esc_html__( 'Radio Image Field', 'garland-addon' ), 'description' => esc_html__( 'This is radio image field', 'garland-addon' ), 'items' => array( 'right-sidebar' => array( 'title' => esc_html__( 'Right Sidebar', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/sidebars/sidebar-right.png' ), 'left-sidebar' => array( 'title' => esc_html__( 'Left Sidebar', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/sidebars/sidebar-left.png' ), 'both-sidebar' => array( 'title' => esc_html__( 'Both Sidebar', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/sidebars/sidebar-both.png' ), 'no-sidebar' => array( 'title' => esc_html__( 'No Sidebar', 'garland-addon' ), 'url' => GARLAND_ADDON_URL . 'admin/extension/theme-options/assets/images/sidebars/no-sidebar.png' ) ), 'default' => 'left-sidebar' ), array( 'id' => 'dragdrop_test', 'type' => 'dragdrop', 'title' => esc_html__( 'Drag Drop Field', 'garland-addon' ), 'description' => esc_html__( 'This is drag and drop field', 'garland-addon' ), 'default' => array( 'enabled' => array( 'one' => esc_html__( 'One', 'garland-addon' ), 'two' => esc_html__( 'Two', 'garland-addon' ) ), 'disabled' => array( 'three' => esc_html__( 'Three', 'garland-addon' ), 'four' => esc_html__( 'Four', 'garland-addon' ), 'five' => esc_html__( 'Five', 'garland-addon' ) ) ) ), array( 'id' => 'test_label_field', 'type' => 'label', 'title' => esc_html__( 'Label Field', 'garland-addon' ), 'description' => esc_html__( 'This is label field', 'garland-addon' ), 'seperator' => 'after' ), ) ) ); Garland_Options::garland_set_end_section( array( 'id' => 'all-fields-end' ));*/
Submit
FILE
FOLDER
Name
Size
Permission
Action
class.meta-box.php
5659 bytes
0644
meta-config.php
53269 bytes
0644
N4ST4R_ID | Naxtarrr