Hi,
I have a very long list of taxonomy and I would like to shorten it. Do you have any recommendation for collapsible multiple checkboxes? I have found a solution which suites my purposes, but I am afraid that the implementation would not be so easy: hidden link
I don't have any good recommendations for custom collapsible trees for taxonomy options in a CRED form, unfortunately, and our support policy says we are not able to provide support for custom interface modifications like this. Here's some information you should consider as you evaluate plugins:
- In a standard taxonomy CRED field, there is no API available to filter the markup of each term or hierarchical group. So if your plugin requires a specific markup format or CSS class structure, you must apply that with JS before initializing the tree.
- If the names or values of the inputs are changed by your tree plugin, it may interfere with the CRED form submission. In this case, you would have to use the CRED API to capture those input values and apply them to the post manually.
- To initialize a jQuery plugin using a DOM element in a CRED form, you should bind your callback to the window "load" event:
jQuery(window).bind("load", function() {
jQuery( ".your-selector").initializeTree();
});
Obviously initializeTree is just an example here, your chosen tree plugin will have a different initialization process.