-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 Categories block] Include Support for Custom Taxonomies #41541
Comments
I have found a block that already does exactly what I described: Taxonomy Terms List Block. |
@mrfoxtalbot did the plugin you mentioned works for pages? I tried adding it to a page query loop, but it does not show my custom "negócio" taxonomy. |
Hey, @adrianoabreux. I did a quick text to a associate a custom taxonomy to the default (core) pages and the Taxonomy Terms List Block does seem to list the terms correctly. I hope that helps! |
Since the different taxonomies are variations of the post term block, would it make sense to display them as well, variations, instead of a sidebar option? Aside: It should be possible to transform to a different variation. |
I am not sure what you mean here @carolinan. What would this look like? Are you referring to having a single Post Taxonomy block and use it for categories, tags and custom taxonomies? Thank you! |
Thank you for the details @carolinan. That could work too, sure. My goal when I opened this issue was not so much to pursue any specific path, but to address the fact that the current state of FSE does not offer any way to include/list custom taxonomies. |
It does, but it is a recent change: #39837 |
I wasn't aware of that PR. Thanks again @carolinan. We. An mark this as solved, then, I think. |
There's a fix on its way @adrianoabreux, please check #39837 |
I have noticed this issue is still reproducible. I am not sure if this is a regression of of if it was never fixed (#39837 says it was merged, though). I am going to reopen this. |
What problem does this address?
The Query Block lets you select the custom post type you want to query... but the way the Post Categories block works at the moment, unless that CPT is associated with the default taxonomies (categories and tags) it will show a "No categories message".
This is not a bug in the Post Categories itself, but it can be confusing for users who expect the Post Categories block to just list all/any relevant terms coming from custom taxonomies.
What is your proposed solution?
My suggestion would be to add a dropdown in the Post Categories block to select which taxonomy we want to show terms for.
The text was updated successfully, but these errors were encountered: