PATH:
home
/
lab2454c
/
fcxpro.com
/
wp-content
/
plugins
/
webon-core
/
inc
/
header
/
dashboard
/
admin
<?php if ( ! function_exists( 'webon_core_add_header_options' ) ) { /** * Function that add header options for this module */ function webon_core_add_header_options() { $qode_framework = qode_framework_get_framework_root(); $page = $qode_framework->add_options_page( array( 'scope' => WEBON_CORE_OPTIONS_NAME, 'type' => 'admin', 'layout' => 'tabbed', 'slug' => 'header', 'icon' => 'fa fa-cog', 'title' => esc_html__( 'Header', 'webon-core' ), 'description' => esc_html__( 'Global Header Options', 'webon-core' ) ) ); if ( $page ) { $general_tab = $page->add_tab_element( array( 'name' => 'tab-header-general', 'icon' => 'fa fa-cog', 'title' => esc_html__( 'General Settings', 'webon-core' ) ) ); $general_tab->add_field_element( array( 'field_type' => 'radio', 'name' => 'qodef_header_layout', 'title' => esc_html__( 'Header Layout', 'webon-core' ), 'description' => esc_html__( 'Choose a header layout to set for your website', 'webon-core' ), 'args' => array( 'images' => true ), 'options' => apply_filters( 'webon_core_filter_header_layout_option', $header_layout_options = array() ), 'default_value' => apply_filters( 'webon_core_filter_header_layout_default_option_value', '' ), ) ); $general_tab->add_field_element( array( 'field_type' => 'select', 'name' => 'qodef_header_skin', 'title' => esc_html__( 'Header Skin', 'webon-core' ), 'description' => esc_html__( 'Choose a predefined header style for header elements', 'webon-core' ), 'options' => array( 'none' => esc_html__( 'None', 'webon-core' ), 'light' => esc_html__( 'Light', 'webon-core' ), 'dark' => esc_html__( 'Dark', 'webon-core' ) ) ) ); // Hook to include additional options after module options do_action( 'webon_core_action_after_header_options_map', $page, $general_tab ); } } add_action( 'webon_core_action_default_options_init', 'webon_core_add_header_options', webon_core_get_admin_options_map_position( 'header' ) ); }
[+]
..
[-] logo-options.php
[edit]
[-] header-options.php
[edit]