Select2 and Nice-Select not loaded on frontend
-
Hi there,
i work on a page using the dynamic-dropdown to let users select terms from a taxonomy. it seems to me that the style and js part dont get laoded in the frontend.
I tried these shortcodes:
[dynamic_select dynamic_select-themen class:select2 class:tags "slug:themen"] [dynamic_select dynamic_select-themen2 class:nice-select "slug:themen"]
i looked into your code at /public/class-cf7-grid-layout-public.php line 283 an there may be the problem because it looks like work in progress:
$class['has-select2'] = true; //if(isset($class['has-select2'])){ wp_enqueue_script('jquery-select2'); wp_enqueue_style('select2-style'); //}
i think that somehow the enqueuing does not work. The frontend shows plain select boxes.
i am able to add the script and css myself for my theme but maybe you will have any idea whats missing.
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Select2 and Nice-Select not loaded on frontend’ is closed to new replies.