Submit
Path:
~
/
home
/
getwphos
/
www
/
almajd14
/
wp-content
/
plugins
/
halstein-core
/
inc
/
header
/
layouts
/
standard-split
/
File Content:
helper.php
<?php if ( ! function_exists( 'halstein_core_add_standard_split_header_global_option' ) ) { /** * This function set header type value for global header option map */ function halstein_core_add_standard_split_header_global_option( $header_layout_options ) { $header_layout_options['standard-split'] = array( 'image' => HALSTEIN_CORE_HEADER_LAYOUTS_URL_PATH . '/standard-split/assets/img/standard-split-header.png', 'label' => esc_html__( 'Standard Split', 'halstein-core' ), ); return $header_layout_options; } add_filter( 'halstein_core_filter_header_layout_option', 'halstein_core_add_standard_split_header_global_option' ); } if ( ! function_exists( 'halstein_core_register_standard_split_header_layout' ) ) { /** * Function which add header layout into global list * * @param array $header_layouts * * @return array */ function halstein_core_register_standard_split_header_layout( $header_layouts ) { $header_layouts['standard-split'] = 'HalsteinCore_Standard_Split_Header'; return $header_layouts; } add_filter( 'halstein_core_filter_register_header_layouts', 'halstein_core_register_standard_split_header_layout' ); } if ( ! function_exists( 'halstein_core_set_standard_split_header_area_styles' ) ) { /** * Function that generates module inline styles * * @param string $style * * @return string */ function halstein_core_set_standard_split_header_area_styles( $style ) { $styles = array(); $background_color = halstein_core_get_post_value_through_levels( 'qodef_standard_split_header_menu_and_widget_area_background_color' ); if ( ! empty( $background_color ) ) { $styles['background-color'] = $background_color; } if ( ! empty( $styles ) ) { $style .= qode_framework_dynamic_style( '.qodef-header--standard-split #qodef-page-header .qodef-header-right-wrapper', $styles ); } return $style; } add_filter( 'halstein_filter_add_inline_style', 'halstein_core_set_standard_split_header_area_styles' ); }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
assets
---
0755
dashboard
---
0755
templates
---
0755
class-halsteincore-standard-split-header.php
453 bytes
0644
helper.php
1995 bytes
0644
include.php
455 bytes
0644
N4ST4R_ID | Naxtarrr