generateblocks
generateblocks copied to clipboard
Better Query Loop arg filtering
We need to implement a better way to implement our `` filter so that we can target specific Query Loops.
Right now we suggest that people add a custom class to the "Grid" block inside the Query Loop, and then check for that class when using the filter.
However, this is less than ideal as the Grid block won't always be there, and it requires you to add the same class to the pagination button blocks as well: https://generate.support/topic/query-loop-pagination-issues-page-numbers-do-not-update-with-custom-filtering/page/2/#post-20138