ClubShrimp

Astra theme - header.php

Jun 6th, 2019
153
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /**
  3.  * The header for Astra 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 Astra
  10.  * @since 1.0.0
  11.  */
  12.  
  13. ?><!DOCTYPE html>
  14. <?php astra_html_before(); ?>
  15. <html <?php language_attributes(); ?>>
  16. <head>
  17. <?php astra_head_top(); ?>
  18. <meta charset="<?php bloginfo( 'charset' ); ?>">
  19. <meta name="viewport" content="width=device-width, initial-scale=1">
  20. <link rel="profile" href="https://gmpg.org/xfn/11">
  21.  
  22. <?php wp_head(); ?>
  23. <?php astra_head_bottom(); ?>
  24. </head>
  25.  
  26. <body <?php astra_schema_body(); ?> <?php body_class(); ?>>
  27.  
  28. <?php astra_body_top(); ?>
  29. <div id="page" class="hfeed site">
  30.     <a class="skip-link screen-reader-text" href="#content"><?php echo esc_html( astra_default_strings( 'string-header-skip-link', false ) ); ?></a>
  31.  
  32.     <?php astra_header_before(); ?>
  33.  
  34.     <?php astra_header(); ?>
  35.  
  36.     <?php astra_header_after(); ?>
  37.  
  38.     <?php astra_content_before(); ?>
  39.  
  40.     <div id="content" class="site-content">
  41.  
  42.         <div class="ast-container">
  43.  
  44.         <?php astra_content_top(); ?>
RAW Paste Data