PATH:
home
/
lab2454c
/
fcxpro.com
/
wp-content
/
plugins
/
webon-core
/
inc
/
header
/
layouts
/
standard
/
dashboard
/
meta
<?php if ( ! function_exists( 'webon_core_add_standard_header_meta' ) ) { /** * Function that add additional header layout meta box options * * @param object $page */ function webon_core_add_standard_header_meta( $page ) { $section = $page->add_section_element( array( 'name' => 'qodef_standard_header_section', 'title' => esc_html__( 'Standard Header', 'webon-core' ), 'dependency' => array( 'show' => array( 'qodef_header_layout' => array( 'values' => 'standard', 'default_value' => '' ) ) ) ) ); $section->add_field_element( array( 'field_type' => 'select', 'name' => 'qodef_standard_header_in_grid', 'title' => esc_html__( 'Content in Grid', 'webon-core' ), 'description' => esc_html__( 'Set content to be in grid', 'webon-core' ), 'default_value' => '', 'options' => webon_core_get_select_type_options_pool( 'no_yes' ) ) ); $section->add_field_element( array( 'field_type' => 'text', 'name' => 'qodef_standard_header_height', 'title' => esc_html__( 'Header Height', 'webon-core' ), 'description' => esc_html__( 'Enter header height', 'webon-core' ), 'args' => array( 'suffix' => esc_html__( 'px', 'webon-core' ) ) ) ); $section->add_field_element( array( 'field_type' => 'text', 'name' => 'qodef_standard_header_side_padding', 'title' => esc_html__( 'Header Side Padding', 'webon-core' ), 'description' => esc_html__( 'Enter side padding for header area', 'webon-core' ), 'args' => array( 'suffix' => esc_html__( 'px or %', 'webon-core' ) ) ) ); $section->add_field_element( array( 'field_type' => 'color', 'name' => 'qodef_standard_header_background_color', 'title' => esc_html__( 'Header Background Color', 'webon-core' ), 'description' => esc_html__( 'Enter header background color', 'webon-core' ) ) ); $section->add_field_element( array( 'field_type' => 'select', 'name' => 'qodef_standard_header_menu_position', 'title' => esc_html__( 'Menu position', 'webon-core' ), 'default_value' => '', 'options' => array( '' => esc_html__( 'Default', 'webon-core' ), 'left' => esc_html__( 'Left', 'webon-core' ), 'center' => esc_html__( 'Center', 'webon-core' ), 'right' => esc_html__( 'Right', 'webon-core' ), ) ) ); $section->add_field_element( array( 'field_type' => 'select', 'name' => 'qodef_standard_header_enable_border', 'title' => esc_html__( 'Enable Border', 'webon-core' ), 'options' => webon_core_get_select_type_options_pool('no_yes', true), ) ); $section->add_field_element( array( 'field_type' => 'color', 'name' => 'qodef_standard_header_border_color', 'title' => esc_html__( 'Border Color', 'webon-core' ), ) ); } add_action( 'webon_core_action_after_page_header_meta_map', 'webon_core_add_standard_header_meta' ); }
[+]
..
[-] standard-header-meta.php
[edit]