您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

77 行
4.0 KiB

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