Waypoints library

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36118
    Ian Cumberbatch
    Participant

    Hi Team,

    I’m using the Divi builder plugin to help with the layout of content on the site but am running into issues where the accordion module is not working (eg. http://invent1.nyts.edu/index.php/academics/degrees-and-programs/) I’ve reached out to their support and they want to know if you have a convenient way of disabling the Waypoints library in their theme which seems to be clashing with the library in their plugin.

    Thanks,
    Ian

    #36127
    Raghavendra
    Moderator

    You can try this in your child theme to prevent the theme from loading the waypoints lib –

    add_filter( 'wp_enqueue_scripts', 'dequeue_waypoints_lib', PHP_INT_MAX );
    
    function dequeue_waypoints_lib( ){
        wp_dequeue_script( 'jquery-waypoint');
        wp_deregister_script( 'jquery-waypoint');
    }
    #36129
    Ian Cumberbatch
    Participant
    This reply has been marked as private.
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Invent Theme Support’ is closed to new topics and replies.