Advertisement
blackhat1337

Untitled

May 22nd, 2024 (edited)
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.96 KB | None | 0 0
  1. <html>
  2. <head>
  3.  
  4. <script async custom-element="amp-auto-ads"
  5. src="https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js">
  6. </script>
  7. <body>
  8.  
  9. <amp-auto-ads type="adsense"
  10. data-ad-client="ca-pub-7292739200195694">
  11. </amp-auto-ads>
  12.  
  13. <meta name="google-adsense-account" content="ca-pub-7292739200195694">
  14.  
  15. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7292739200195694"
  16. crossorigin="anonymous"></script>
  17. </body>
  18. </head>
  19. </html>
  20.  
  21. <?php
  22. /**
  23. * Header template.
  24. *
  25. * @package Avada
  26. * @subpackage Templates
  27. */
  28.  
  29. // Do not allow directly accessing this file.
  30. if ( ! defined( 'ABSPATH' ) ) {
  31. exit( 'Direct script access denied.' );
  32. }
  33. ?>
  34. <!DOCTYPE html>
  35. <html class="<?php avada_the_html_class(); ?>" <?php language_attributes(); ?>>
  36. <head> <meta name="google-adsense-account" content="ca-pub-7292739200195694">
  37.  
  38. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7292739200195694"
  39. crossorigin="anonymous"></script>
  40.  
  41. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  42. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  43. <?php Avada()->head->the_viewport(); ?>
  44.  
  45. <?php wp_head(); ?>
  46.  
  47. <?php
  48. /**
  49. * The setting below is not sanitized.
  50. * In order to be able to take advantage of this,
  51. * a user would have to gain access to the database
  52. * in which case this is the least of your worries.
  53. */
  54. echo apply_filters( 'avada_space_head', Avada()->settings->get( 'space_head' ) ); // phpcs:ignore WordPress.Security.EscapeOutput
  55. ?>
  56. </head>
  57.  
  58. <?php
  59. $object_id = get_queried_object_id();
  60. $c_page_id = Avada()->fusion_library->get_page_id();
  61. $wrapper_class = 'fusion-wrapper';
  62. $wrapper_class .= ( is_page_template( 'blank.php' ) ) ? ' wrapper_blank' : '';
  63. ?>
  64. <body <?php body_class(); ?> <?php fusion_element_attributes( 'body' ); ?>>
  65. <?php do_action( 'avada_before_body_content' ); ?>
  66. <a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'Avada' ); ?> <amp-auto-ads type="adsense"
  67. data-ad-client="ca-pub-7292739200195694">
  68. </amp-auto-ads> </a>
  69.  
  70. <div id="boxed-wrapper">
  71. <?php if ( 'boxed' === Avada()->settings->get( 'layout' ) ) : ?>
  72. <?php if ( 'framed' === Avada()->settings->get( 'scroll_offset' ) ) : ?>
  73. <div class="fusion-sides-frame"></div>
  74. <?php endif; ?>
  75. <?php endif; // End of boxed mode check. ?>
  76.  
  77. <div id="wrapper" class="<?php echo esc_attr( $wrapper_class ); ?>">
  78. <div id="home" style="position:relative;top:-1px;"></div>
  79. <?php if ( apply_filters( 'awb_should_render_header', true, $c_page_id ) ) : ?>
  80. <?php if ( has_action( 'avada_render_header' ) ) : ?>
  81. <?php do_action( 'avada_render_header' ); ?>
  82. <?php else : ?>
  83.  
  84. <?php avada_header_template( 'below', ( is_archive() || Avada_Helper::bbp_is_topic_tag() ) && ! ( class_exists( 'WooCommerce' ) && is_shop() ) ); ?>
  85. <?php if ( 'left' === fusion_get_option( 'header_position' ) || 'right' === fusion_get_option( 'header_position' ) ) : ?>
  86. <?php avada_side_header(); ?>
  87. <?php endif; ?>
  88.  
  89. <?php avada_sliders_container(); ?>
  90.  
  91. <?php avada_header_template( 'above', ( is_archive() || Avada_Helper::bbp_is_topic_tag() ) && ! ( class_exists( 'WooCommerce' ) && is_shop() ) ); ?>
  92.  
  93. <?php endif; ?>
  94. <?php endif; ?>
  95.  
  96. <?php avada_current_page_title_bar( $c_page_id ); ?>
  97.  
  98. <?php
  99. $row_css = '';
  100. $main_class = '';
  101.  
  102. if ( apply_filters( 'fusion_is_hundred_percent_template', false, $c_page_id ) ) {
  103. $row_css = 'max-width:100%;';
  104. $main_class = 'width-100';
  105. }
  106.  
  107. if ( fusion_get_option( 'content_bg_full' ) && 'no' !== fusion_get_option( 'content_bg_full' ) ) {
  108. $main_class .= ' full-bg';
  109. }
  110. do_action( 'avada_before_main_container' );
  111. ?>
  112. <main id="main" class="clearfix <?php echo esc_attr( $main_class ); ?>">
  113. <div class="fusion-row" style="<?php echo esc_attr( $row_css ); ?>">
  114.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement