SHARE
TWEET

header.php

a guest Sep 23rd, 2019 111 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /**
  3.  * The header for our theme
  4.  *
  5.  * This is the template that displays all of the <head> section and everything up until <div id="content">
  6.  *
  7.  * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
  8.  *
  9.  * @package security
  10.  */
  11.  
  12. ?>
  13. <!doctype html>
  14. <html <?php language_attributes(); ?>>
  15. <head>
  16.     <meta charset="<?php bloginfo( 'charset' ); ?>">
  17.     <meta name="viewport" content="width=device-width, initial-scale=1">
  18.     <link rel="profile" href="http://gmpg.org/xfn/11">
  19.     <?php wp_head(); ?>
  20. </head>
  21.  
  22. <body <?php body_class(); ?>>
  23.  
  24. <?php do_action( 'wp_body_open' ); ?>
  25.  
  26. <div id="page" class="site">
  27.     <a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'adonis-pro' ); ?></a>
  28.  
  29.     <header id="masthead" class="site-header">
  30.         <div class="wrapper">
  31.             <div id="site-header-main">
  32.                 <?php get_template_part( 'template-parts/navigation/navigation', 'primary' ); ?>
  33.             </div><!-- #site-header-main -->
  34.         </div><!-- .wrapper -->
  35.     </header><!-- #masthead -->
  36.  
  37.     <?php get_template_part( 'template-parts/slider/display', 'slider' ); ?>
  38.  
  39.     <?php get_template_part( 'template-parts/header/header', 'media' ); ?>
  40.  
  41.     <?php get_template_part( 'template-parts/hero-content/content', 'hero' ); ?>
  42.  
  43.     <?php get_template_part( 'template-parts/featured-content/display', 'featured' ); ?>
  44.  
  45.     <?php get_template_part( 'template-parts/services/display', 'services' ); ?>
  46.  
  47.     <?php get_template_part( 'template-parts/logo-slider/display', 'logo-slider' ); ?>
  48.  
  49.     <?php get_theme_mod( 'adonis_testimonial_position', 1 ) ? get_template_part( 'template-parts/testimonial/display', 'testimonial' ) : ''; ?>
  50.  
  51.     <?php get_template_part( 'template-parts/skills/display', 'skills' ); ?>
  52.  
  53.     <?php get_template_part( 'template-parts/stats/display', 'stats' ); ?>
  54.  
  55.     <?php get_theme_mod( 'adonis_contact_position' ) ? get_template_part( 'template-parts/contact-info/display', 'contact-info' ) : ''; ?>
  56.  
  57.     <?php get_template_part( 'template-parts/header/breadcrumb' ); ?>
  58.  
  59.     <div id="content" class="site-content">
  60.         <div class="wrapper">
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top