a template start
This commit is contained in:
31
index.php
31
index.php
@ -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>
|
||||
|
Reference in New Issue
Block a user