Sid Gifari File Manager
🏠 Root
/
home
/
ailwtbdh
/
lynchestinegroup.com
/
wp-content
/
themes
/
koncrete
/
inc
/
options
/
Editing: header.php
<?php /** * @author RadiusTheme * @since 1.0 * @version 1.0 */ namespace radiustheme\Koncrete; use \Redux; $opt_name = Constants::$theme_options; Redux::setSection( $opt_name, array( 'title' => esc_html__( 'Header', 'koncrete' ), 'id' => 'header_section', 'heading' => '', 'icon' => 'el el-flag', 'fields' => array( array( 'id' => 'resmenu_width', 'type' => 'slider', 'title' => esc_html__( 'Responsive Header Screen Width', 'koncrete' ), 'subtitle' => esc_html__( 'Screen width in which mobile menu activated. Recommended value is: 992', 'koncrete' ), 'default' => 1200, 'min' => 0, 'step' => 1, 'max' => 2000, ), array( 'id' => 'sticky_menu', 'type' => 'switch', 'title' => esc_html__( 'Sticky Header', 'koncrete' ), 'on' => esc_html__( 'Enabled', 'koncrete' ), 'off' => esc_html__( 'Disabled', 'koncrete' ), 'default' => true, 'subtitle' => esc_html__( 'Show header at the top when scrolling down', 'koncrete' ), ), array( 'id' => 'transparent_header', 'type' => 'switch', 'title' => __( 'Transparent Header', 'koncrete' ), 'on' => __( 'Enabled', 'koncrete' ), 'off' => __( 'Disabled', 'koncrete' ), 'default' => false, 'subtitle' => __( 'To Enable Transparent Header', 'koncrete' ), ), array( 'id' => 'top_bar', 'type' => 'switch', 'title' => esc_html__( 'Top Bar', 'koncrete' ), 'on' => esc_html__( 'Enabled', 'koncrete' ), 'off' => esc_html__( 'Disabled', 'koncrete' ), 'default' => false, ), array( 'id' => 'top_bar_style', 'type' => 'image_select', 'title' => esc_html__( 'Top Bar Layout', 'koncrete' ), 'default' => '1', 'options' => array( '1' => array( 'title' => '<b>'. esc_html__( 'Layout 1', 'koncrete' ) . '</b>', 'img' => Helper::get_img( 'redux/topbar-style-1.png' ), ), '2' => array( 'title' => '<b>'. esc_html__( 'Layout 2', 'koncrete' ) . '</b>', 'img' => Helper::get_img( 'redux/topbar-style-2.png' ), ), '3' => array( 'title' => '<b>'. esc_html__( 'Layout 3', 'koncrete' ) . '</b>', 'img' => Helper::get_img( 'redux/topbar-style-3.png' ), ), '4' => array( 'title' => '<b>'. esc_html__( 'Layout 4', 'koncrete' ) . '</b>', 'img' => Helper::get_img( 'redux/topbar-style-4.png' ), ), ), 'required' => array( 'top_bar', '=', true ) ), array( 'id' => 'search_icon', 'type' => 'switch', 'title' => esc_html__( 'Search Icon', 'koncrete' ), 'on' => esc_html__( 'Enabled', 'koncrete' ), 'off' => esc_html__( 'Disabled', 'koncrete' ), 'default' => true, ), array( 'id' => 'cart_icon', 'type' => 'switch', 'title' =>esc_html__( 'Cart Icon', 'koncrete' ), 'on' =>esc_html__( 'Enabled', 'koncrete' ), 'off' =>esc_html__( 'Disabled', 'koncrete' ), 'default' => false, ), array( 'id' => 'menu_button', 'type' => 'switch', 'title' => esc_html__( 'Menu Button', 'koncrete' ), 'on' => esc_html__( 'Enabled', 'koncrete' ), 'off' => esc_html__( 'Disabled', 'koncrete' ), 'default' => false, ), array( 'id' => 'menu_button_text', 'type' => 'text', 'title' => esc_html__( 'Menu Button Text', 'koncrete' ), 'default' => "Get A Quote", 'required' => array('menu_button', 'equals', true) ), array( 'id' => 'menu_button_url', 'type' => 'text', 'title' => esc_html__( 'Menu Button url', 'koncrete' ), 'default' => "#", 'required' => array('menu_button', 'equals', true) ), array( 'id' => 'search_icon', 'type' => 'switch', 'title' => esc_html__( 'Search Icon', 'koncrete' ), 'on' => esc_html__( 'Enabled', 'koncrete' ), 'off' => esc_html__( 'Disabled', 'koncrete' ), 'default' => true, ), array( 'id' => 'header_style', 'type' => 'image_select', 'title' => esc_html__( 'Header Layout', 'koncrete' ), 'default' => '1', 'options' => array( '1' => array( 'title' => '<b>'. esc_html__( 'Layout 1', 'koncrete' ) . '</b>', 'img' => Helper::get_img( 'redux/header-style-1.png' ), ), '2' => array( 'title' => '<b>'. esc_html__( 'Layout 2', 'koncrete' ) . '</b>', 'img' => Helper::get_img( 'redux/header-style-2.png' ), ), '3' => array( 'title' => '<b>'. esc_html__( 'Layout 3', 'koncrete' ) . '</b>', 'img' => Helper::get_img( 'redux/header-style-3.png' ), ), '4' => array( 'description' => 'Custom Style not applicable', 'title' => '<b>'. esc_html__( 'Layout 4( Clone of layout 1. Dark layout - Custom style not applicable - only for showcase)', 'koncrete' ) . '</b>', 'img' => Helper::get_img( 'redux/header-style-4.png' ), ), ), ), array( 'id' => 'banner', 'type' => 'switch', 'title' => esc_html__( 'Banner', 'koncrete' ), 'on' => esc_html__( 'Enabled', 'koncrete' ), 'off' => esc_html__( 'Disabled', 'koncrete' ), 'default' => true, ), array( 'id' => 'breadcrumb', 'type' => 'switch', 'title' => esc_html__( 'Breadcrumb', 'koncrete' ), 'on' => esc_html__( 'Enabled', 'koncrete' ), 'off' => esc_html__( 'Disabled', 'koncrete' ), 'default' => true, 'required' => array( 'banner', 'equals', true ) ), array( 'id' => 'bgtype', 'type' => 'button_set', 'title' => esc_html__( 'Banner Background Type', 'koncrete' ), 'options' => array( 'bgcolor' => esc_html__( 'Background Color', 'koncrete' ), 'bgimg' => esc_html__( 'Background Image', 'koncrete' ), ), 'default' => 'bgimg', 'required' => array( 'banner', 'equals', true ) ), array( 'id' => 'bgcolor', 'type' => 'color', 'title' => esc_html__( 'Banner Background Color', 'koncrete'), 'validate' => 'color', 'transparent' => false, 'default' => '#606060', 'required' => array( 'bgtype', 'equals', 'bgcolor' ) ), array( 'id' => 'bgimg', 'type' => 'media', 'title' => esc_html__( 'Banner Background Image', 'koncrete' ), 'default' => array( 'url'=> Helper::get_img( 'default-banner.jpg' ) ), 'required' => array( 'bgtype', 'equals', 'bgimg' ) ), ) ) );
Save
Cancel