File: /home/madison/public_html/wp-content/themes/paperio/header.php
<?php
/**
* The template for displaying the header
*
* Displays all of the head element and everything up until the "header" tag.
*
* @package Paperio
*/
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
<!-- keywords -->
<meta charset="<?php bloginfo( 'charset' ); ?>">
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php endif; ?>
<!-- viewport -->
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<!-- default IE9 -->
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?> itemscope="itemscope" itemtype="http://schema.org/WebPage">
<?php
if( is_home() ) {
get_template_part( 'templates/header/header' );
get_template_part( 'templates/featured-slider/content' );
get_template_part( 'templates/latest-popular-post/content' );
get_template_part( 'templates/promotional-block/content' );
} else {
get_template_part( 'templates/header/header' );
}