Archived topic
How to create this?
7 replies · Started by Yogesh on February 5, 2022
Hello team. I hope you are doing well. this time, I am coming with a difficult task.(for me sure)
I want to create content like this https://copyblogger.com/ on my website. I mean you can see on top there is a heading. After that there is a subscription box. After that there are certain boxes, which represents blog posts. I want to create this type of boxes with dynamic content on my home page. I mean when I create new post, then new post automatically show here. How can I create this? Please guide me here. Thank you.
Hi there,
You can set your home page to be the posts page.
The top section here can be done with a block element page hero:
https://www.screencast.com/t/afBTUiT9Ba
Then create a block element content template to display the posts:
https://docs.generatepress.com/article/block-element-content-template/
Charge template from our site library uses a very similar structure so you can import and learn how it is created:
https://gpsites.co/charge/
I want to keep use home page instead of post page. Can I still achieve this with block element content template ?
Hi Yogesh,
The block element content template can only be applied to the blog/archive pages, it can not be used on static pages for now.
I think Leo's suggestion is the most reasonable and efficient way to achieve what you are looking for.
Means, I have to wait for WPShow post integration. Heart breaking news for me. :(
How much time left for integration?
I want to keep use home page instead of post page.
I'm not sure why this matters if you are just trying to replicate this site?
https://copyblogger.com/
It's using the posts page as the front page.
We are aiming to release the posts block feature in GB pro before the end of Q1 this year.
This is the latest update still:
https://wpshowposts.com/weve-made-the-decision-to-merge-wp-show-posts-with-generateblocks/
I was not replicating the complete site. I was just trying to replicate middle boxes only. Btw Thank you for your help.
Ahh I see.
In that case waiting for GB pro is probably your best bet.
A temporary solution would be to use the latest posts block or query loop block from WP core:
https://wordpress.org/support/article/latest-posts-block/
https://wordpress.org/support/article/query-loop-block/
It will require a considerable amount of custom CSS to style them unfortunately.