Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #996770

    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?

    #996783

    My bad, it was something else preventing it. Everything is fine now.

    #996815

    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

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Custom plugin js script are deregistered by enfold’ is closed to new replies.