PATH:
home
/
lab2454c
/
fcxpro.com
/
wp-content
/
plugins
/
webon-core
/
inc
/
header
/
layouts
/
minimal
<?php class MinimalHeader extends WebOnCoreHeader { private static $instance; public function __construct() { $this->set_layout( 'minimal' ); $this->set_search_layout( 'fullscreen' ); $this->default_header_height = 101; add_action( 'webon_action_before_wrapper_close_tag', array( $this, 'fullscreen_menu_template' ) ); parent::__construct(); } public static function get_instance() { if ( is_null( self::$instance ) ) { self::$instance = new self(); } return self::$instance; } function fullscreen_menu_template() { $parameters = array( 'fullscreen_menu_in_grid' => webon_core_get_post_value_through_levels( 'qodef_fullscreen_menu_in_grid' ) === 'yes' ); webon_core_template_part( 'fullscreen-menu', 'templates/full-screen-menu', '', $parameters ); } }
[+]
..
[+]
templates
[-] include.php
[edit]
[+]
assets
[-] helper.php
[edit]
[-] minimal-header.php
[edit]
[+]
dashboard