In WordPress, the archive pages come inbuilt for each tag, category, date, and author. However, many website owners prefer to have custom archives page for their website. The archive page usually exhibits popular posts, display the date based archive, display tags, list categories, etc. Some blog owners prefer to display all the posts title on a single page.
Step 1: Select plugins widget on the WP dashboard. Select the plugins widget & search plugin box . Search for Display Post Shortcode.
Step 2: Install the Plugin Display Post Shortcode.
Step 3: Activate the Plugin.
Once the plugin is activated it is ready for use as there are no settings to be configured.
Step 4: Create a new page by going to your WP admin dashboard>>>> Pages >>>> Add New
Type a title for the New Page, like Archives, you can even name it as per choice.
Step 5: Paste the following shortcode in the page
[display-posts posts_per_page="6" order="DESC"]
Using this shortcode on the page where you wish to display all the post titles will list the titles in a chronological order. Here we have set the posts per page limit “6” you can set the limit as per the no: of posts, you wish to display on the page.
If you want to display more post, for example: “10”, then set posts posts_per_page as “10” in the shortcode
[display-posts posts_per_page="10" order="DESC"]
Even the chronological order can be reversed which will displace older post first i.e. in order type “ASC”
[display-posts posts_per_page="10" order="ASC"]
Powered by BetterDocs
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.