feat(blog): add Read more link to post card
This commit is contained in:
@@ -52,6 +52,8 @@ get_header();
|
|||||||
<span class="post-list__author"><?php echo esc_html( ucfirst( get_the_author() ) ); ?> —</span>
|
<span class="post-list__author"><?php echo esc_html( ucfirst( get_the_author() ) ); ?> —</span>
|
||||||
<span class="post-list__date"><?php echo get_the_date(); ?></span>
|
<span class="post-list__date"><?php echo get_the_date(); ?></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<a class="post-list__read-more" href="<?php the_permalink(); ?>">Read more →</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user