I have a field where I get available post types, and I’d like my second select2 to be populated with taxonomies from the first select2.
I have a function written for both, but trying to get the data from "post_type" is proving tricky.
The below is causing an ajax loading issue in the page builder.
I’ve searched high and low but haven’t found a solution.
Thanks in advance.
2
Answers
Accomplishing this same behavior within elementor widget I think can be done by creating your own select2 control and passing the options using your own created js file.
the best i can do for you is interduce this GitHub plugin
it uses js to do this
here is the link to the project:
https://github.com/WPPlugins/void-elementor-post-grid-addon-for-elementor-page-builder