'header', 'data-section-id' => $section_id, ); $current_template = brandy_get_header_template(); $settings = $current_template['row_configurations'][ $row ]; $is_expanded_on_mobile = isset( $settings['expand_on_mobile'] ) ? $settings['expand_on_mobile'] : true; $hidden_classes = brandy_enabled_devices_classes( $settings['enabled_devices'] ); $columns = $current_template['placements'][ 'tablet' === $device ? 'mobile' : $device ][ $row ]; $row_layout = isset( $current_template['settings']['layout'] ) ? $current_template['settings']['layout'] : 'full-width'; ?>
> $section_id, 'part_name' => $section_name, ) ); $container_attributes = array( 'class' => esc_attr( 'header-container ' . $row_layout ), 'item-layout' => esc_attr( Helpers::get_device_value( $settings['stretch_item'], $device ) ? 'stretch' : 'normal' ), 'data-is-expanded-on-mobile' => esc_attr( $is_expanded_on_mobile ? 'true' : 'false' ), ) ?>
>