astra.php
4 years ago
bbtheme.php
4 years ago
generatepress.php
4 years ago
genesis.php
4 years ago
my-listing-functions.php
4 years ago
my-listing.php
4 years ago
neve.php
4 years ago
oceanwp.php
4 years ago
theme-support.php
4 years ago
twenty-nineteen.php
4 years ago
my-listing-functions.php
46 lines
| 1 | <?php |
| 2 | |
| 3 | if ( ! function_exists( 'hfe_render_header' ) ) { |
| 4 | function hfe_render_header() { |
| 5 | global $elementskit_template_ids; |
| 6 | if ( $elementskit_template_ids[0] == null ) { |
| 7 | return; |
| 8 | } |
| 9 | |
| 10 | do_action( 'elementskit/template/before_header' ); |
| 11 | echo '<div class="ekit-template-content-markup ekit-template-content-header">'; |
| 12 | echo \ElementsKit_Lite\Utils::render_elementor_content( $elementskit_template_ids[0] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Displaying with Elementor content rendering |
| 13 | echo '</div>'; |
| 14 | do_action( 'elementskit/template/after_header' ); |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | if ( ! function_exists( 'get_hfe_header_id' ) ) { |
| 19 | function get_hfe_header_id() { |
| 20 | global $elementskit_template_ids; |
| 21 | return $elementskit_template_ids[0]; |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | if ( ! function_exists( 'hfe_render_footer' ) ) { |
| 26 | function hfe_render_footer() { |
| 27 | global $elementskit_template_ids; |
| 28 | if ( $elementskit_template_ids[1] == null ) { |
| 29 | return; |
| 30 | } |
| 31 | |
| 32 | do_action( 'elementskit/template/before_header' ); |
| 33 | echo '<div class="ekit-template-content-markup ekit-template-content-header">'; |
| 34 | echo \ElementsKit_Lite\Utils::render_elementor_content( $elementskit_template_ids[1] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Displaying with Elementor content rendering |
| 35 | echo '</div>'; |
| 36 | do_action( 'elementskit/template/after_header' ); |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | if ( ! function_exists( 'get_hfe_footer_id' ) ) { |
| 41 | function get_hfe_footer_id() { |
| 42 | global $elementskit_template_ids; |
| 43 | return $elementskit_template_ids[1]; |
| 44 | } |
| 45 | } |
| 46 |