December 2017
Beginner
458 pages
7h 52m
English
Next, we need the title. We will put the title inside of an <h2></h2> tag. We can get the title by adding <?php echo the_title(); ?>:
<article class="post"><h2><?php echo the_title(); ?></h2></article>
Just to check, reload the main page and you can see with the regular content posts we actually get the title:

Read now
Unlock full access