Skip to content

Repeater Block #3312

Open
Open
@bfintal

Description

@bfintal

TODO

Sources

  • Posts, pages, CPTs
  • Authors
  • Post meta (you can use dynamic content to use post meta)
  • Pick multiple post meta keys - if multiple, then each specified will be used to in a template
  • Taxonomies
  • Option (get_option)
  • CSV
  • URL CSV
  • URL JSON
  • JSON
  • ACF Relationship, each post object or post id will be repeated
  • ACF Repeater, each group of options will be repeated

Repeater Template

  • Column options
  • Inspector options
  • Allow nested repeater blocks

Others

  • Transform from Query Loop block to Repeater
  • Right now it's hard to input a repeater block (since after you insert it, you will need to pick dynamic content), it may be hard to figure out. Let's use provide ready variations e.g. JSON that fills up everything with json data, Posts that has posts picked out

Scenarios that should be supported

  • 2 nested Repeater blocks: 2nd repeater block uses data from 1st one
    1. First Repeater block provides a source of data e.g. JSON with a nested array
    2. Second (nested) Repeater block uses the parent Repeater block as the source
  • 2 nested Repeater blocks: 2nd repeater block uses data dynamically as a source
    1. First Repeater block provides a source of data e.g. CSV with post ID values
    2. Second (nested) Repeater block uses the post ID to query a post

New Features Added

  • New Format Dynamic Content field (inside Dynamic Content popup)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions