Hi,
We created a custom plugin for our website and decided to switch to enfold as a new theme. Our plugin uses this code
wp_enqueue_script( ‘data-table’, plugin_dir_url( __FILE__ ) . ‘assets/js/jquery.datatable.min.js’, array(‘jquery’), ‘1.0.0’, true );
wp_enqueue_script( ‘dapplist-main’, plugin_dir_url( __FILE__ ) . ‘assets/js/dapplist.js’, array(‘jquery’), ‘1.0.7’, true );
wp_enqueue_script( ‘chart-js’, plugin_dir_url( __FILE__ ) . ‘assets/js/Chart.min.js’, array(‘jquery’), ‘1.0’, true );
We are also enqueuing stylesheets at the same thime which seems to work fine but all enqueued scripts are being ignored. Any idea?
My bad, it was something else preventing it. Everything is fine now.
Hi,
I’m glad you were able to get this corrected. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon