HTML Boilerplate

Watch our course on HTML in order to get a good grasp on how HTML works and best practices. HTML is relatively simple to learn, so you'll get the hang of it quickly.

wp-content/themes/customtheme/index.php

<!doctype html>
<html>
    <head>
        <title>Custom Theme Title</title>
    </head>
    <body>
        <?php if ( have_posts() ) : ?>
            <?php while ( have_posts() ) : the_post(); ?>
                <h2>A single blog post.</h2>
                <?php the_title(); ?>
                <?php the_content(); ?>
            <?php endwhile; ?>
        <?php endif; ?>
    </body>
</html>