Twitter Bootstrap 4 WordPress Starter Theme for Developers

Theme File: header.php

Name: header.php

Path: devdmbootstrap4/header.php


Properly format the main opening header of our website for language, charset and the required Bootstrap 4 viewport meta tags. We are also executing wp_head().

This file is included on all major theme template files with the function get_header().

<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
    <meta charset="<?php bloginfo( 'charset' ); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="profile" href="">
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    <?php wp_head(); ?>
<body <?php body_class('dmbs-body'); ?>>