Hi there, first post, thanks in advance for your help. Is there a way to conditionally show elements within a query builder block based on whether it’s an odd- or even-numbered iteration of the query? e.g., say I wanted to render a button on posts 2, 4, 6… – is this doable?
(I’m leaving aside that I could use custom CSS to make it doable visually, albeit with clutter in the DOM. Hoping there is a more optimal solution.)
I’ll mark Maexxx’s as the correct answer, as it is the closest to what I’m looking for, though there are good use cases for the other answers as well. And my ideal answer might be if Bricks had something built into the conditions field, where we didn’t have to add custom code blocks to the builder.