Custom non-hierarchical taxonomy (Tags)
-
Hello Blocksy team! I’ve run into an issue regarding post card meta data and custom non-hierarchical taxonomies.
My Setup: Using the Advanced Custom Fields (ACF) plugin, I created a Custom Post Type (Portfolio) and a Custom Taxonomy attached to it. The taxonomy is set as tags (non-hierarchical,
hierarchical => false). I am using the default Blocksy archive template for this CPT (no custom PHP templates).The Problem: In the Customizer (Post Types -> Archive -> Card -> Post Meta), I add the “Taxonomy” element. Blocksy successfully detects my custom taxonomy in the “Taxonomy Source” dropdown, and I select it. However, the tags do not display on the frontend in the post cards. (The posts are published, the tags are definitely assigned to them, and “Show in REST API” is enabled for both CPT and Taxonomy in ACF).
The Clue (My troubleshooting): If I go to ACF settings and toggle this taxonomy to be Hierarchical (
hierarchical => true) and flush permalinks, Blocksy immediately starts displaying the terms in the post cards! If I switch it back to non-hierarchical (tags), they disappear again.My Questions:
- Is this a known limitation/bug in Blocksy’s meta module (not supporting custom non-hierarchical taxonomies in the Customizer)?
- Is there a filter or a proper way to force the standard Blocksy meta element to output these flat tags without having to switch them to a hierarchical structure?
Thanks in advance for your help! Your theme is amazing!
You must be logged in to reply to this topic.
