• Resolved mscmepl

    (@mscmepl)


    Could you tell me how to correctly enqueue the jquery?

    I have my jquery through a CDN in the head tag, and I think this is the reason why I can’t see the chat on my homepage. If there is this possibility I would be very grateful.

Viewing 1 replies (of 1 total)
  • Plugin Author QuantumCloud

    (@quantumcloud)

    Hi,

    Yes, if jQuery is not properly enqueued it will not work. To do so go to your active theme’s functions.php file and add this

    function load_scripts(){
        //Load scripts:
        wp_enqueue_script('jquery'); # Loading the WordPress bundled jQuery version.
        //may add more scripts to load like jquery-ui
    }
    add_action('wp_enqueue_scripts', 'load_scripts');

    Remember to remove the code that is loading the jQuery from CDN

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘The plugin is not displayed’ is closed to new replies.