Site logo

Archived topic

Featured articles on the home page.

3 replies · Started by Joan on May 31, 2022

Viewing posts 1–4 of 4

Hi, I would like to make a query, as I can't see how to do the following:

I would like to Include a grid on the home page (which is the blog page) with the most popular topics of my site (chosen by me). And I would like the appearance of these themes to be the same as the archive cards created with "elements" in the theme template itself.

I would like to display this grid after the pagination of the most recent articles.

How can I do this? Thanks

Hi Joan,

So you want the following on your blog/home page with this order?

1. Regular posts loop.
2. Posts loop pagination.
2. Handpicked popular posts.

If so, you can create a block element and use the query loop block of Generateblocks 1.5:
https://generateblocks.com/generateblocks-1-5-dynamic-data-query-loops-image-blocks/

Set the location to frontpage, choose after_main_content as the hook name.

You can't directly apply the block element - content template to the query loop block Unfortuanly, it has to be rebuilt in query loop block at this moment.

Thank you. I will give it a try.

Let us know if you run into troubles building the page :)

This archived topic is closed to new replies.