Site logo

Archived topic

Featured Post for query loop

2 replies · Started by Mike on June 30, 2022

Viewing posts 1–3 of 3

Is this possible? To have the first post full width, then next N in a grid?
I was hand-coding my post grids with FLEX so the first was 100% width... and the last 50% or 100% depending if the grid ended in a single post.
I know I could use two query blocks - and offset the second by 1 - but that's 2 DB calls.
I could probably also do it by adding my custom CSS - if I have to... so this is asking if I'm missing the option... and if not, can this be added at some stage?
Thanks

Also- I don't seem to be able to add ACF fields in the query loop. Am I not seeing something? Because these are available elsewhere (using headline block)?
** My bad - hadn't exposed ACF fields to API - can add by manually entering, or open to API and see... so this is resolved.

Hi Mike,

To answer your first question, your approach is correct, and using CSS should be easier than using 2 query loop blocks :)

This archived topic is closed to new replies.