Adding a Tag Cloud
If you want to display a tag cloud of your most popular tags used on the site, then simply add the following code in custom-archive.php file:
The wp_tag_cloud() function comes with a lot of parameters to adjust the number of tags, maximum and minimum tag sizes, etc.
Adding a List of Pages
If you want to display a list of all pages on your site, then simply add the following code:
Adding a List of Authors
To display the list of authors on the site, simply add the following code:
Adding Recent Posts
If you want to display a list of your most recent posts, then add this code:
A comprehensive archives page allows your users to efficiently navigate through your old content. We hope that this article helped you create a custom archives page in WordPress. If you have any questions or suggestions, then please let us know by leaving a comment below.