The Loop
In this video, we'll write some HTML and PHP. If you're unfamiliar with these languages, you can still proceed. However, you should watch our courses on HTML and PHP to really understand the code.
wp-content/themes/customtheme/index.php
<?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; ?>