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

Allow image to be selected from available term meta during taxonomy select #4

Open
cr0ybot opened this issue Dec 12, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@cr0ybot
Copy link
Owner

cr0ybot commented Dec 12, 2024

In order to support adding an image block to the term template without the user having to write code, a better approach might be to allow the user to select a term meta key that is meant to be used as the image:

  1. The user selects a taxonomy
  2. The available registered meta keys for that taxonomy are presented
  3. The user selects the meta key that corresponds to an image
  4. The user optionally selects if the meta value corresponds to an attachment ID
  5. The term template is filled with blocks and the image block is set to use the meta key selected

Number 4 might be confusing for some non-technical users, perhaps if an image block is using the term-meta binding for url there should be some code to auto-detect the value format and fetch an attachment URL if necessary?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant