I’m using GenerateBlocks to display posts from different categories on my homepage, but I want to set different query loop logic depending on what device a user is on.
On desktop, I want a user to see 4 posts in a row (from a specific category).
On mobile, I want a user to see 3 posts in a row (from the same category).
I’ve tried switching to mobile mode but it seems the query loop function applies to all device types.
Any suggestions or workarounds?
Thanks!