Submit
Path:
~
/
home
/
getwphos
/
www
/
almajd14
/
wp-content
/
plugins
/
halstein-core
/
inc
/
header
/
layouts
/
minimal
/
File Content:
class-halsteincore-minimal-header.php
<?php class HalsteinCore_Minimal_Header extends HalsteinCore_Header { private static $instance; public function __construct() { $this->set_layout( 'minimal' ); $this->default_header_height = 128; add_action( 'halstein_action_before_wrapper_close_tag', array( $this, 'fullscreen_menu_template' ) ); parent::__construct(); } /** * @return HalsteinCore_Minimal_Header */ 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' => 'yes' === halstein_core_get_post_value_through_levels( 'qodef_fullscreen_menu_in_grid' ), ); halstein_core_template_part( 'fullscreen-menu', 'templates/full-screen-menu', '', $parameters ); } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
assets
---
0755
dashboard
---
0755
templates
---
0755
class-halsteincore-minimal-header.php
830 bytes
0644
helper.php
1085 bytes
0644
include.php
406 bytes
0644
N4ST4R_ID | Naxtarrr