This is a good way to keep all of your content in one place. This is a tutorial about how to create one.
This is a way of improving the visualization of older sites that have many posts in one day, over a couple of years
( wpbeginner.com for example ) . So these tips allow you to avoid clutter and improves user performance on your website.
But, it`s too bad that not many themes have this ability.
How to create one
Create a page template – open a new file in your text editor ( i.e Notepad ) and name it page-archive.php. After this add the following codes at the top :
1 <?php
2 /*
3 Template Name: Archives
4 */
5 ?>
Upload this into your WordPress themes folder. After this copy the connect of your page.php file and paste it in page-archive.php
Example of how it would look like :
01 <?php
02 /*
03 Template Name: Archives
04 */
05 get_header(); ?>
06
07 <div id="primary" class="site-content">
08 <div id="content" role="main">
09
10 <?php while ( have_posts() ) : the_post(); ?>
11
12 <h1 class="entry-title"><?php the_title(); ?></h1>
13
14 <div class="entry-content">
15
16 <?php the_content(); ?>
17
18 /* Custom Archives Functions Go Below this line */
19
20
21
22 /* Custom Archives Functions Go Above this line */
23
24 </div><!-- .entry-content -->
25
26 <?php endwhile; // end of the loop. ?>
27
28 </div><!-- #content -->
29 </div><!-- #primary -->
30
31 <?php get_sidebar(); ?>
32 <?php get_footer(); ?>
Now your basis page template is ready, you need to create a new custom archives page in Wordpress. Click Pages -> New . You can call if how you like ( i.e Archives, Library, Whateva )
Below the publish button you will see Page Attrivutes. Click on the menu below Template and choose Archive as you page template. Save and Publish then .