Advertisement
Moslem1337

Untitled

Sep 12th, 2022
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. <?php
  2. /**
  3. * ****************************************************************************
  4. *
  5. * НЕ РЕДАКТИРУЙТЕ ЭТОТ ФАЙЛ
  6. * DON'T EDIT THIS FILE
  7. *
  8. * После обновления Вы потереяете все изменения. Используйте дочернюю тему
  9. * After update you will lose all changes. Use child theme
  10. *
  11. * https://support.wpshop.ru/docs/general/child-themes/
  12. *
  13. * *****************************************************************************
  14. *
  15. * @package reboot
  16. */
  17.  
  18. global $wpshop_core;
  19. global $class_advertising;
  20.  
  21. ?>
  22. <!doctype html>
  23. <html <?php language_attributes(); ?>>
  24. <head>
  25. <meta charset="<?php bloginfo( 'charset' ); ?>">
  26. <meta name="viewport" content="width=device-width, initial-scale=1">
  27.  
  28. <?php wp_head(); ?>
  29. <?php $wpshop_core->the_option( 'code_head' ) ?>
  30. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4581602831169091"
  31. crossorigin="anonymous"></script>
  32. </head>
  33.  
  34. <body <?php body_class(); ?>>
  35. <?php $wpshop_core->check_license() ?>
  36.  
  37. <?php if ( function_exists( 'wp_body_open' ) ) {
  38. wp_body_open();
  39. } else {
  40. do_action( 'wp_body_open' );
  41. } ?>
  42.  
  43. <?php do_action( THEME_SLUG . '_after_body' ) ?>
  44.  
  45. <div id="page" class="site">
  46. <a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', THEME_TEXTDOMAIN ); ?></a>
  47.  
  48. <div class="search-screen-overlay js-search-screen-overlay"></div>
  49. <div class="search-screen js-search-screen">
  50. <?php get_search_form() ?>
  51. </div>
  52.  
  53. <?php
  54. if ( $wpshop_core->is_show_element( 'header' ) ) {
  55. get_template_part( 'template-parts/header/header' );
  56. } ?>
  57.  
  58. <?php get_template_part( 'template-parts/navigation/header' ) ?>
  59.  
  60. <?php do_action( THEME_SLUG . '_before_site_content' ) ?>
  61.  
  62. <?php
  63. if ( apply_filters( THEME_SLUG . '_slider_output', is_front_page() || is_home() ) ) {
  64. if ( ! empty( $wpshop_core->get_option( 'slider_count' ) ) && ( ! is_paged() || ( $wpshop_core->get_option( 'slider_show_on_paged' ) && is_paged() ) ) ) {
  65. if ( ! wp_is_mobile() || ( wp_is_mobile() && ! $wpshop_core->get_option( 'slider_mob_disable' ) ) ) {
  66. if ( $wpshop_core->get_option( 'slider_width' ) == 'fixed') echo '<div class="container">';
  67. get_template_part( 'template-parts/slider', 'posts' );
  68. if ( $wpshop_core->get_option( 'slider_width' ) == 'fixed') echo '</div>';
  69. }
  70. }
  71. }
  72. ?>
  73.  
  74. <div id="content" class="site-content <?php echo apply_filters( THEME_SLUG . '_site_content_classes', 'fixed' ) ?>">
  75.  
  76. <?php echo $class_advertising->show_ad( 'before_site_content' ) ?>
  77.  
  78. <div class="site-content-inner">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement