Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Dynamic Taxonomy List items as separate blocks

  • Hi there, I saw a few posts on this but not exactly what I was looking for.

    So in older versions of GenerateBlocks I was able to add a button, add dynamic data to that button, choose taxonomy list and then that would create one button per term. This way I could have a list of separate elements that I could arrange using a div with display:flex and I used it in all my blog posts.

    I have tried to do that for a new design and I discovered that 1.Term List is not available for buttons, and 2.For text block it is available but it renders as a single block with any separator that I choose (commas, spaces…).

    Sample Image

    I’m I missing something? Is there any way I can achieve this now with this version?

    Thanks.

  • Hi there,

    Yes, you can achieve it with v2 text block.

    When you set the term list dynamic tag for the text block, set link to to Term, so it will add a link to each term.

    Then select the text block, click the Links selector, set some paddings and background color, each term will become a button as the screenshot.

    To add space between the term buttons, select the text block, set its display toflex, and give it a column-gap.

  • Thanks a lot for the quick reply! It worked perfectly 🙂

  • Glad to hear that 🙂

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