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:
parent
988c775d27
commit
1feacfbb39
1 changed files with 3 additions and 0 deletions
|
@ -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(); ?>
|
Loading…
Reference in a new issue