This is technically not possible because wordpress has no option to change Query class depending on device
Ok, that’s too bad. But if you can make the breakpoints work the same way visibility options work, so the code isn’t loaded at all instead of just hiding it, this wouldn’t be a big problem. I could just use different query loops for different devices then.
At the moment, I already save my loop cards as global patterns anyway, so I can easily use and manage all my cards even if there are in multiple query loops across multiple pages / templates.
Leave a Reply