Introduction
Have you ever wanted to display popular posts on a page so that website visitors can easily grasp the trending content? If that’s what you’re looking for, we’ll help you do it with specific instructions in today’s blog. We are here to bring you 3 methods to display WordPress list posts on a page. They are: using a plugin, a shortcode, or a custom template. So, all you need to do is explore the following guides and choose the most suitable one to implement for your site. Now, let’s take a look!
Three Methods to Display WordPress List Posts
Using a Shortcode Plugin
First of all, you need to install the Display Posts plugin – one of the most useful WordPress Popular Post Plugins. Now, on the admin dashboard, let’s access Plugins -> Add New, then enter the name of the plugin in the search bar.
After that, choose the first plugin and click the Install Now -> Activate button.

Next, go to Pages -> Add New to create a new page with any title you like. In the image below, we entered Archives as the title. Then, you simply add the following shortcode to the page:
[display-posts posts_per_page="1000" order="DESC"]
Don’t forget to click the Publish button on the right of the screen.
This shortcode will help you display WordPress list posts. However, note that this shortcode is set to display up to 1000 posts per page. If you want to change this number, simply edit the number 1000 in the shortcode to whatever number you want.

Now, you can see all the posts on one page. The visitors can access any post by clicking on the title.

Utilizing the Simple Yearly Archive Plugin
If you want to showcase all your posts on a page by year, it’s a good idea for you to choose the Simple Yearly Archive plugin – one of the most powerful WordPress Archive Plugins.
Firstly, let’s install and activate this plugin by opening Plugins -> Add New, then typing the plugin’s name in the search bar. Finally, you just need to click on Install Now -> Activate.

Now, let’s go to Settings -> Simple Yearly Archive to customize the archive output. There are many options for you to display the posts.
If you want to show them under collapsible years, all you need to do is tick the box next to the Collapsible Years option. In addition, don’t forget to add <div> and <div> at the Before/ After (Year headline) option.
The next step, of course, is to press the Update options button to save all your settings.

Now, in order to display WordPress list posts on a single page, you simply need to add the shortcode below to the page you want:
[SimpleYearlyArchive]
Using a Custom Template and Loop
Besides using plugins to display WordPress list posts on one page, you are able to do that by adding code.
First of all, you need to create a custom page template. After that, from your page.php file, copy the styling. Finally, use the following loop so that all the posts can be displayed on a page:
<?php
// the query
$wpb_all_query = new WP_Query(array('post_type'=>'post', 'post_status'=>'publish', 'posts_per_page'=>-1)); ?>
<?php if ( $wpb_all_query->have_posts() ) : ?>
<ul>
<!-- the loop -->
<?php while ( $wpb_all_query->have_posts() ) : $wpb_all_query->the_post(); ?>
<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php endwhile; ?>
<!-- end of the loop -->
</ul>
<?php wp_reset_postdata(); ?>
<?php else : ?>
<p><?php _e( 'Sorry, no posts matched your criteria.' ); ?></p>
<?php endif; ?>
Wrap Up
All in all, we hope that today’s blog will be useful for you as well as your website. If you have any difficulty or trouble related to this topic, don’t hesitate to share it with us because we may be able to help you solve it. What’s more, there are a lot of interesting Free WordPress Themes here, let’s explore them and get the best one for your site!



