Site logo

Archived topic

Custom post archive page

3 replies · Started by Ritesh on March 9, 2022

Viewing posts 1–4 of 4

Hi Ritesh,

You can modify an archive page with a Content Template - Block Element.

See: https://docs.generatepress.com/article/block-element-content-template/

Specifically, you may create a Content template for the first post, and another one for all the others.

See: https://share.getcloudapp.com/E0ug6BJo

Also see: https://share.getcloudapp.com/yAuKPRBA

There are also templates you may implement from the Element settings: https://share.getcloudapp.com/7KuQJlnX

You can set the layout of the pages of your site with a Layout Element: https://docs.generatepress.com/article/layout-element-overview/

If you wish to replicate this site however: https://www.cnbc.com/world/, it believe you’ll need custom CSS or a third party plugin to achieve this as the template of the queried posts varies more than twice.

Hope this clarifies. :)

Hey Fernando,

Thanks for your reply.

It seems I need a Premium GP Block to achieve

Am I right?

++ What about, If want to achieve only list view

Ritesh Sharma

Hi there,

that layout isn't possible with either the Block Element - Content Template or GB Pro.
We are working on a Query Loop block for GenerateBlocks which will allow you build similar layouts.
But today you would need to use a plugin like WP Show Posts

This archived topic is closed to new replies.