I was thinking to a fast solution.
This php script is inside my header.php file:
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<?php $viewport_content = apply_filters( 'piizalian_viewport_content', 'width=device-width, initial-scale=1' ); ?>
<meta name="viewport" content="<?php echo esc_attr( $viewport_content ); ?>">
<link rel="profile" >
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php
if ( function_exists( 'wp_body_open' ) ) {
wp_body_open();
} else {
do_action( 'wp_body_open' );
}
if (piizalian_is_elementor_activated() && function_exists('hfe_init') && hfe_header_enabled()) {
do_action('hfe_header');
} else {
if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'header' ) ) {
get_template_part( 'template-parts/header' );
}
}
Is it possible to modify this script to hide the original header’s theme ? So I shouldn’t see the two overlapping headers anymore.
-
This reply was modified 5 months, 1 week ago by caimano.