Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter martinoscenter

    (@martinoscenter)

    I just wanted to update that Chad was right. When we switched back to default theme the button started working again. After some digging we discovered that the developer who wrote our custom theme was doing this:

    function replace_jquery() {
    ???? if (!is_admin()) {
    ???????? wp_deregister_script(‘jquery’);
    ???????? wp_enqueue_script( ‘jquery’,?
    ‘//ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js’, array(),?
    ‘2.2.4’, true );
    ???????? wp_enqueue_script(‘jquery2’);
    ???? }
    }

    Restoring our theme and commenting this out fixes the button again but breaks other functionality. We will sort it out with the developer but thank you for helping point us in the right direction.

Viewing 1 replies (of 1 total)