Why menu does not appear when using Elementor Footer?

It’s wrong logic in Elementor Pro plugin. To solve this issue, please open to plugins -> elementor-pro -> modules -> theme-builder -> class  -> theme-support.php  -> Go to line 51 -> Replace

if ( $overwrite_header_location || $overwrite_footer_location ) {
	$conditions_manager = Module::instance()->get_conditions_manager();
	$headers = $conditions_manager->get_documents_for_location( 'header' );
	$footers = $conditions_manager->get_documents_for_location( 'footer' );

	if ( ! empty( $headers ) ) {
		add_action( 'get_header', [ $this, 'get_header' ] );
	}

	if ( ! empty( $footers ) ){
		add_action( 'get_footer', [ $this, 'get_footer' ] );
	}
}

with

if ( $overwrite_header_location  ) {
	$conditions_manager = Module::instance()->get_conditions_manager();
	$headers = $conditions_manager->get_documents_for_location( 'header' );

	if ( ! empty( $headers ) ) {
		add_action( 'get_header', [ $this, 'get_header' ] );
	}
}

if ( $overwrite_footer_location  ) {
	$conditions_manager = Module::instance()->get_conditions_manager();
	$footer = $conditions_manager->get_documents_for_location( 'footer' );

	if ( ! empty( $footer ) ) {
		add_action( 'get_footer', [ $this, 'get_footer' ] );
	}
}

Leave A Comment?