Archived topic
How to add latest posts to home page
12 replies · Started by kyle on October 19, 2021
Hi there team, I would like to add the latest posts to the homepage. I like the design of the Charge theme but am using the Article theme myself. How can I do this?
Hi there,
Any chance you can link us to the site in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Let me know :)
Hey Leo, please see URL
Did you get that URL Leo?
Yup I did.
Just to make sure, all you want on the home page is a picture than follow by the latest posts?
I would like the same layout as the theme Charge theme, only the latest post layout
Hi Kyle,
The method is different depending on what content you want to add to the homepage.
Could you let me know what's your idea?
Hey Ying :)
Yes, I would like to add my latest blog posts to the homepage, but do not want to use an extra widget/plugin
You can set the front page to display your latest posts in the WP readings settings:
https://wordpress.org/support/article/settings-reading-screen/
I tried that but I dont like the style. I would like to keep a static page and just include my latest posts
The style can be changed with a content template:
https://docs.generatepress.com/article/block-element-content-template/
That is exactly how Charge was done.
But this will change my posts page, I only want to add the style to my home page?
If you want to keep a separate posts page then you will need to use a plugin like WP Show Posts:
https://wordpress.org/plugins/wp-show-posts/
Or the query loop that WP introduced:
https://wordpress.org/support/article/query-loop-block/
The downside is that it won't be possible to style them the same way as in Charge and using a content template.