header-footer.php (730B)
1 <?php 2 3 if ( ! defined( 'ABSPATH' ) ) { 4 exit; // Exit if accessed directly. 5 } 6 7 \Elementor\Plugin::$instance->frontend->add_body_class( 'elementor-template-full-width' ); 8 9 get_header(); 10 /** 11 * Before Header-Footer page template content. 12 * 13 * Fires before the content of Elementor Header-Footer page template. 14 * 15 * @since 2.0.0 16 */ 17 do_action( 'elementor/page_templates/header-footer/before_content' ); 18 19 \Elementor\Plugin::$instance->modules_manager->get_modules( 'page-templates' )->print_content(); 20 21 /** 22 * After Header-Footer page template content. 23 * 24 * Fires after the content of Elementor Header-Footer page template. 25 * 26 * @since 2.0.0 27 */ 28 do_action( 'elementor/page_templates/header-footer/after_content' ); 29 30 get_footer();