Support » Plugin: Ajaxify WordPress Site(AWS) » Move scripts to my main.js file

  • Resolved errick87


    I would like to know how I can move the ajaxify scripts to my main javascript file where all my scrips are in.

    I’ve deregistered all the ajaxify scripts first with this code in my functions.php:

    wp_register_script(‘history-js’, (“”), false, ”);
    wp_register_script(‘jquery-scrollTo-js’, (“”), false, ”);
    wp_register_script(‘ajaxify-js’, (“”), false, ”);
    wp_register_script(‘jquery-form’, (“”), false, ”);

    Afther that i copyed all the scripts in the correct order to my main.js file, but the plugin doesn’t work when done this.

    What did I do wrong?

    Many thanks in advance.


Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Move scripts to my main.js file’ is closed to new replies.