a template start

This commit is contained in:
2018-07-18 08:03:46 -05:00
parent 0348bb3c42
commit 21062ca0a8
7 changed files with 110 additions and 18 deletions

View File

@ -1,19 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<?php wp_head(); ?>
</head>
<body>
<?php
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
the_title( '<h1>', '</h1>' );
the_content();
}
}
wp_footer();
?>
</body>
<html <?php language_attributes(); ?>>
<?php get_header(); ?>
<body>
<a class="skip-nav sr-only" href="#main-content">Skip to main</a>
<?php get_template_part('globalHead'); ?>
<main id="main-content" role="main">
<?php get_template_part('loop'); ?>
</main>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
</body>
</html>