header.php

<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<title><?php wp_title(''); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">
</head>

<body <?php body_class(); ?>>
<header>
<h1><a href="<?php echo home_url('/') ?>"><?php bloginfo( 'name' ); ?></a></h1>
<p><?php bloginfo( 'description' ); ?></p>
<?php get_template_part('inc/navi'); ?>
</header>

 


footer.php

<footer>
<p>Copyright 2010 - <?php echo date("Y"); ?></p>
</footer>
</body>

</html>

 


sidebar.php

<aside>Seitenleiste</aside>


navi.php

<nav>
<?php wp_page_menu(); ?>
</nav>

 


index.php

<?php get_header(); ?>
<main>
<article>
Hauptinhalt index.php
</article>
<?php get_sidebar(); ?>
</main>
<?php get_footer(); ?>


page.php

<?php get_header(); ?>
<main>
<article>
Hauptinhalt page.php
</article>
<?php get_sidebar(); ?>
</main>
<?php get_footer(); ?>


single.php

<?php get_header(); ?>
<main>
<article>
Hauptinhalt single.php
</article>
<?php get_sidebar(); ?>
</main>
<?php get_footer(); ?>