This commit is contained in:
2025-11-18 16:39:33 +00:00
parent c70394d367
commit df1f90c6cd
9673 changed files with 3464697 additions and 34 deletions
@@ -0,0 +1,45 @@
<?php
if ( ! function_exists( 'hfe_render_header' ) ) {
function hfe_render_header() {
global $elementskit_template_ids;
if ( $elementskit_template_ids[0] == null ) {
return;
}
do_action( 'elementskit/template/before_header' );
echo '<div class="ekit-template-content-markup ekit-template-content-header">';
echo \ElementsKit_Lite\Utils::render_elementor_content( $elementskit_template_ids[0] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Displaying with Elementor content rendering
echo '</div>';
do_action( 'elementskit/template/after_header' );
}
}
if ( ! function_exists( 'get_hfe_header_id' ) ) {
function get_hfe_header_id() {
global $elementskit_template_ids;
return $elementskit_template_ids[0];
}
}
if ( ! function_exists( 'hfe_render_footer' ) ) {
function hfe_render_footer() {
global $elementskit_template_ids;
if ( $elementskit_template_ids[1] == null ) {
return;
}
do_action( 'elementskit/template/before_header' );
echo '<div class="ekit-template-content-markup ekit-template-content-header">';
echo \ElementsKit_Lite\Utils::render_elementor_content( $elementskit_template_ids[1] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Displaying with Elementor content rendering
echo '</div>';
do_action( 'elementskit/template/after_header' );
}
}
if ( ! function_exists( 'get_hfe_footer_id' ) ) {
function get_hfe_footer_id() {
global $elementskit_template_ids;
return $elementskit_template_ids[1];
}
}