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

Post Terms Block: automatically add all public taxonomies as variations #32924

Closed
jeherve opened this issue Jun 23, 2021 · 2 comments · Fixed by #39837
Closed

Post Terms Block: automatically add all public taxonomies as variations #32924

jeherve opened this issue Jun 23, 2021 · 2 comments · Fixed by #39837
Assignees
Labels
[Block] Post Terms Affects the Post Terms Block [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.

Comments

@jeherve
Copy link
Contributor

jeherve commented Jun 23, 2021

Somewhat related to #32920

If themes or plugins register custom public taxonomies to be used to display custom information on a site's frontend, I think it would make sense to offer that information via the Post Terms block, so one can use the block in the site editor to inject that information in their templates.

Plugins can register those custom variations on their end as well, but maybe offering them in the editor out of the box as long as the taxonomies as marked as public would help with all existing plugins out there.

@Mamaduka Mamaduka added [Block] Post Terms Affects the Post Terms Block [Type] Enhancement A suggestion for improvement. labels Jun 25, 2021
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Mar 29, 2022
@paaljoachim
Copy link
Contributor

Check out the PR by @ntsekouras Nik here:
#39837

It can use some testing.

@mrleemon
Copy link
Contributor

Apparently, this only works if one registers the custom taxonomies using the init hook with a priority lower than 10. Is this by design? I don't see this issue specified anywhere in the Gutenberg docs.

@ntsekouras

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Post Terms Affects the Post Terms Block [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants