In this section, we'll work on the content pages, both the regular post content and also the gallery.
Displaying the post content
Adding a regular post content
For adding a regular post, we'll start with the content.php file in the editor. We'll add title, metadata, thumbnail, and lastly, the main content to the post. To start with, we will create an article tag and give it a class of post:
<article class="post">
</article>
Adding a title to the regular post content
Next, we need the title. We will put the title inside of an <h2>...