The post loop

In the previous section, we created the header and footer files and included them in the index.php file. In this section, we will work on the main post area. So far, we have a bunch of static HTML which we need to change. We will have two types of posts:

  • Regular post: This will be a standard blog post with a title and paragraph
  • Gallery post: This will have the image with the description underneath

We will add support for content or post formats. So what we need to do is create a functions.php file inside our photogenik theme.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.35.255