Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeater Block #3312

Open
6 of 20 tasks
bfintal opened this issue Sep 9, 2024 · 0 comments · May be fixed by #3313
Open
6 of 20 tasks

Repeater Block #3312

bfintal opened this issue Sep 9, 2024 · 0 comments · May be fixed by #3313

Comments

@bfintal
Copy link
Contributor

bfintal commented Sep 9, 2024

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)
@bfintal bfintal linked a pull request Sep 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant