Now we'll take a look at the single post page. Right now, we have this roll of posts from our site, but that's it; we can't click on it and go to the individual post, where we would have our comments and things like that. So let's go ahead and work on that:
- Let's go to the index.php file and make the title clickable. We'll add a link to the title. To do this, let's go to the <h3> tag, as shown in the following code; add the <a> tag, and wrap that around the <title> tag:
<?php get_header(); ?> <div class="main"> <div class="container"> <?php if(have_posts()) : ?> <?php while(have_posts()): the_post; ?> <h3> <a href="<?php the_permalink(); ?>"> <?php the_title(); ?> </a> </h3> <div class="meta"> Created By <?php ...