feat: add 'View All Articles' button to homepage

Included a new button beneath the article previews on the homepage, allowing users to easily access the full archive of articles. This enhances navigation and improves user experience by providing a clear call-to-action for discovering more content.
This commit is contained in:
Kumi 2024-06-20 15:30:57 +02:00
parent 988c775d27
commit 1feacfbb39
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -63,6 +63,9 @@
<?php endwhile; <?php endwhile;
wp_reset_query(); ?> wp_reset_query(); ?>
</div> </div>
<div class="text-center mt-4">
<a href="<?php echo get_post_type_archive_link('article'); ?>" class="btn btn-lg btn-primary">View All Articles</a>
</div>
</section> </section>
<?php get_footer(); ?> <?php get_footer(); ?>