Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

79 строки
4.1 KiB

  1. <?php header('X-Frame-Options: SAMEORIGIN'); ?>
  2. <!--[if IE_NEEDS_THIS]><![endif]-->
  3. <!DOCTYPE html>
  4. <!--[if lt IE 7]> <html class="no-js lt-ie10 lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?>> <![endif]-->
  5. <!--[if IE 7]> <html class="no-js lt-ie10 lt-ie9 lt-ie8 ie7" <?php language_attributes(); ?>> <![endif]-->
  6. <!--[if IE 8]> <html class="no-js lt-ie10 lt-ie9 ie8" <?php language_attributes(); ?>> <![endif]-->
  7. <!--[if IE 9]> <html class="no-js lt-ie10 ie9" <?php language_attributes(); ?>> <![endif]-->
  8. <!--[if gt IE 9]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
  9. <head>
  10. <meta charset="<?php bloginfo('charset'); ?>" />
  11. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  12. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
  13. <?php wp_head(); // For plugins ?>
  14. <meta name="description" content="<?php sandbox_the_page_description(); ?>">
  15. <!-- all countries as js array <script type="text/javascript" src="<?php echo esc_url(get_stylesheet_directory_uri()); ?>/js/allcountries.js"></script> -->
  16. <link rel="stylesheet" type="text/css" href="<?php echo esc_url(get_stylesheet_directory_uri()); ?>/css/normalize.css?v=1" />
  17. <link rel="stylesheet" type="text/css" href="<?php echo esc_url(get_stylesheet_directory_uri()); ?>/css/default.css?v=1" />
  18. <link rel="stylesheet" type="text/css" href="<?php echo esc_url(get_stylesheet_directory_uri()); ?>/css/style.css?v=7" />
  19. <link rel="stylesheet" media="print" type="text/css" href="<?php echo esc_url(get_stylesheet_directory_uri()); ?>/css/print.css" />
  20. <link rel="alternate" type="application/rss+xml" href="<?php echo esc_url(get_bloginfo('rss2_url')); ?>" title="<?php printf( __( '%s latest posts', 'sandbox' ), htmlspecialchars( get_bloginfo('name'), 1 ) ) ?>" />
  21. <link rel="profile" href="http://gmpg.org/xfn/11">
  22. <link rel="pingback" href="<?php echo esc_url(get_bloginfo( 'pingback_url' )); ?>">
  23. <meta property="og:title" content="<?php echo wp_strip_all_tags(wp_get_document_title()); ?>" />
  24. <meta property="og:type" content="<?php if ( is_single() ) { ?>article<?php } else { ?>Website<?php } ?>" />
  25. <meta property="og:url" content="<?php sandbox_the_current_URI(); ?>" />
  26. <meta property="og:image" content="<?php sandbox_the_page_thumbnail() ?>" />
  27. <meta property="og:description" content="<?php sandbox_the_page_description(); ?>" />
  28. <meta property="og:locale" content="<?php bloginfo('language'); ?>" />
  29. </head>
  30. <body <?php body_class(); ?>>
  31. <?php wp_body_open(); ?>
  32. <nav id="skip">
  33. <ul>
  34. <li><a href="#main-menu"><?php _e('Jump to Navigation', 'sandbox'); ?></a></li>
  35. <li><a href="#main"><?php _e('Jump to Content', 'sandbox'); ?></a></li>
  36. </ul>
  37. </nav>
  38. <!-- ______________________ HEADER _______________________ -->
  39. <header id="site-header" class="site-header site-container">
  40. <div class="inner">
  41. <<?php
  42. /*
  43. * @logo
  44. * @Site Name
  45. */
  46. if ( is_front_page() || is_home() ) { echo 'h1'; } else { echo 'h2'; } ?> id="site-name" class="site-name">
  47. <a id="site-logo" class="site-logo" rel="home" href="<?php echo esc_url(home_url()) ?>/" title="<?php
  48. echo htmlspecialchars(get_bloginfo('name')), ' - ', htmlspecialchars(get_bloginfo('description'));
  49. ?>"><img src="<?php echo esc_url(get_template_directory_uri()); ?>/img/logo-text-kinderlandwien.svg" alt="<?php
  50. echo htmlspecialchars(__('Logo', 'sandbox')), ' - ', htmlspecialchars(get_bloginfo('name')); ?>"/></a>
  51. </<?php if ( is_front_page() || is_home() ) { echo 'h1'; } else { echo 'h2'; } ?>>
  52. <?php
  53. /*
  54. * @Sidebar Header
  55. */
  56. get_sidebar('header'); ?>
  57. </div>
  58. </header><!-- header -->
  59. <?php
  60. /*
  61. * @Sidebar Menu
  62. */
  63. get_sidebar('menu'); ?>
  64. <?php if ( !is_home() && !is_archive() ) { ?>
  65. <?php
  66. /*
  67. * @Sidebar Highlight
  68. */
  69. get_sidebar('highlight'); ?>
  70. <?php } ?>
  71. <main class="site-main site-container" id="main">
  72. <div class="inner">