Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #360069
    #360250

    Hi!

    Yes, try with this code:

    // Replace avia.js
    function change_aviajs() {
       wp_dequeue_script( 'avia-default' );
       wp_enqueue_script( 'avia-default-child', get_stylesheet_directory_uri().'/js/avia.js', array('jquery'), 2, true );
    }
    add_action( 'wp_enqueue_scripts', 'change_aviajs', 100 );

    Regards,
    Josue

    #937599

    Thank you very much Josue!

    #937603

    hey Josue – nice to hear from you again!
    Are you doing well?

    Edit – oh wow – sometimes i have to look to the posting time . Sorry – Hope he is fine

    • This reply was modified 6 years, 8 months ago by Guenni007.
    #937701

    Hi,

    I haven’t heard from Josue in a long time either, I hope he’s fine too :-)

    Best regards,
    Rikard

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.