<?php get_header(); if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <article class="post"> <h2><a href="<?php the_permalink() ?>"><?php the_title() ?></a></h2> <?php the_content() ?> </article> <?php endwhile; else : echo '<p>There are no posts!</p>'; endif; get_footer(); ?>
You can use this as start theme or as boilerplate for theme this has all the start up files https://github.com/d4rkvent/understrap