You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a custom legend.php file and added custom CSS to accommodate making the legend display the categories in a hierarchy rather than a flat list. It would be great if this were to be implemented as an option so that others could toggle between the default flat list and one that shows them in a basic hierarchy. As such I've included the legend.php file and custom CSS I came up with for you to use/reference for implementing it officially as an option or to simply share with others.
You can put this in a template override so it stays between updates. I'm not trying to create all options. I just wanted something basic that the most people can benefit from. I'll leave this open so people see it. Thanks.
Just an aside, I have updated my provided legend.php template code to also account for hidden category labels as well as the setting which shows hidden category labels.
I made a custom legend.php file and added custom CSS to accommodate making the legend display the categories in a hierarchy rather than a flat list. It would be great if this were to be implemented as an option so that others could toggle between the default flat list and one that shows them in a basic hierarchy. As such I've included the legend.php file and custom CSS I came up with for you to use/reference for implementing it officially as an option or to simply share with others.
Here's a gist of all of the additions to accommodate this: https://gist.github.com/KZeni/05b8e0069ab60924267bd32b2343c615
I have also posted about this on the WP.org forum at https://wordpress.org/support/topic/proposed-code-reference-support-hierarchical-category-legend/
The text was updated successfully, but these errors were encountered: