Would you like to discover: How to display your articles on a page?
There are several ways to display all of your WordPress posts on one page. You can do this either by using a shortcode, either using a plugin, or even using a custom template. + -
In this article, we will study each of these methods.
But before, if you have never installed WordPress discover How to install a WordPress blog in 7 steps et How to search, install and activate a WordPress theme on your blog
Then back to why we are here.
Method 1: Use the "Display Posts Shortcode" plugin
The first thing you need to do is install and activate the plugin Display Posts Shortcode. This plugin works without configuration, and has no parameters.
Discover our guide on How to install a plugin in WordPress
Go ahead and create a new page that you are going to call " Archives Or any other title. After that you need to paste the following shortcode on your page.
[display-posts posts_per_page=
"1000"
order=
"DESC"
]
If you have over a thousand posts, you can change the settings accordingly. You can also change the chronological order of the posts (oldest first).
Although it is possible for you to use Display Posts Shortcode to view snippets, thumbnails, and other related data, we do not recommend doing so.
When you list all your publications on one page, it is clear that it will be long, and of course you would like the loading of this page is simple and fast.
Discover How to open a Youtube video in a popup on WordPress
So, just displaying the titles of the publications is enough for the archives.
If you want to display the posts on your page based on category or other settings, you can do so by following the detailed usage instructions in the documentation why WordPress Plugin.
Method 2: Use the "Simple Yearly Archive" plugin
If you want to display all of your WordPress posts on one page, this can make the page very long. You can solve this problem by presenting a list of the publications for each year. Users will then be able to click on a year to see all the publications published during that year.
The first thing you need to do is install and activate the plugin Simple Yearly Archive.
Discover How to install or add a plugin on WordPress
When activating, go to the page Settings ยปSimple Yearly Archive to configure the plugin.
The plugin allows you to view your list of posts in multiple ways. If you want to display them under folding years, you must add the tags and next to the option " Before / After (Year headline)"
The other options of the plugin are pretty self-explanatory. You can set them up according to your needs. Don't forget to click on the " Save Changes To save your settings.
See also our 7 WordPress plugins to save your website or Blog
Now to display all your posts on one page you just need to add the shortcode
[SimpleYearlyArchive]
on the page of your choice.
The plugin thus provides a range of parameters that can be used with the shortcode. You can view these various settings on the documentation page Of the plugin.
Method 3: Display All WordPress Posts on One Page Using a Code Template
While it's not complicated to use a plugin to display all posts on one page, some of you might want to learn how to do it manually.
Learn by consulting this link How to Fix Redirect errors on WordPress
First you need to create a custom page template and copy the style to your file page.php. After that you will use the code below to display all the posts on one page.
'post', 'post_status' => 'publish', 'posts_per_page' => - 1)); ?> have_posts ()):?> have_posts ()): $ wpb_all_query-> the_post (); ?>
Discover also some premium WordPress plugins
You can use other WordPress plugins to give a modern appearance and to optimize the handling of your blog or website.
We offer you here some premium WordPress plugins that will help you do that.
1. PayPal Advanced Payment Gateway for WooCommerce
This WooCommerce plugin allows you to accept on your website, credit card payments, via PayPalor via the service Bill Me Later.
In addition to a merchant account and a gateway, PayPal provides you with secure checkout templates to integrate into your online store. Which will make your business more secure and professional.
Download | Demo | Web hosting
2. WP-Advanced-Google-Maps
WP Advanced Google Maps is a WordPress Plugin which allows users to display a number of maps on a single page. It supports an unlimited number of maps, locations and markers on your pages.
In addition, it is possible to add other great features to the web page such as route, shop locator, marker list and marker cluster. The cards you add to the page can be personalized easily.
So much to see... 8 WordPress plugins to improve the SEO of your blog
It also supports an impressive collection of shortcodes which allow adding unlimited number of locations by address, latitude and longitude, etc.
Download | Demo | Web hosting
3. PopForms
PopForms is a WordPress Plugin which offers a set of forms WordPress. Its specialty is to display its forms in a modal window. Speaking of forms, it offers 5 forms whose looks and styles are based on Google's โMaterial Designโ.
The main forms are: Contact form, the forgotten password form, the registration form, the connection form, etc ...
Read also our article on 10 WordPress plugins to create a booking form on your website
Its other features are: Multilingual support, captcha support, easy customization, Ajax-based forms submission, responsive layout, and more.
Download | Demo | Web hosting
Other recommended resources
We also invite you to consult the resources below to go further in the grip and control of your website and blog.
- How to create a responsive menu for mobile WordPress
- How to install a plugin in WordPress
- 23 essential tools for success in blogging
- 10 WordPress plugins to create a directory or directory
Conclusion
Here ! That's all. We hope this article helps you display all of your WordPress posts on one page. Feel free to share the tip with your friends on your social networks.
However, you will also be able to consult our resources, if you need more elements to carry out your projects of creation of Internet sites, by consulting our guide on the WordPress blog creation.
But, in the meantime, tell us about your Comments and suggestions in the dedicated section.
...
Hello,
Thanks for your code which works great! I would like my page to display all the articles in a single category, what can I do?
Thank you
Hello,
It all depends on your theme. But you can also do a search to find a plugin that will do it quite easily.
Hello,
I have a WordPress blog and am looking to put a series of free videos into my pages, without the title, columns, and footer showing. I only want my video and some text around. Do you know how I should do it?
On the other hand, I shot my videos with Camtasia Studio, but I see that when I want to make hyperlinks, they don't work on Youtube. Is there a trick to make it work?
Finally, I would like my page not to appear in the sitemap that I am posting on the blog. Is there a tip to know?
Thank you in advance for your help.
Hello,
1. It's difficult to answer you because I don't know the name of the theme you are using. The management of the sidebar largely depends on the options of the theme.
2. I do not understand
3. again, it depends on the plugin you use on your blog.