Safe to use GB Query Loop inside another GB Query Loop?

  • Right now using A GB Query Loop for a loop content. This works to display categories: {{term_list link:term|tax:category|sep:, }}

    This is all styled as 1 pill as it’s one GB Text block. I wanted to style these as individual pills if there are more than 1 categories. Is the proper thing to nest another GB Query loop inside this GB Loop and target Current Post Terms as category? Don’t want to cause any infinite loop issues. Checking first.

  • Wait a minute, on GB V1, I was able to use a button to achieve the pill effect for each category. Is this still the proper method?

  • Wow, funny thing. GB Button does not have a Term List option in the dynamic fields. Any ideas?

  • Hi Ian,

    GB Button does not have a Term List option in the dynamic fields

    Yes, that was intentional. You should be able to achieve the same result using a Text block as well.

    To style the term list, switch to the Links selector on the Text block, then adjust the styling using the block style builder.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.