[Support request] Problems with jquery

Home Forums Support [Support request] Problems with jquery

Home Forums Support Problems with jquery

  • This topic has 1 reply, 2 voices, and was last updated 5 years ago by David.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #853363
    Dovi Vausk

    Its posible that some plugins are not working with your theme? I mean instagram feed plugin:
    https://elements.envato.com/es-419/instagram-feed-gallery-grace-for-wordpress-WB4KSPZ
    The plugin support said that: detect jquery error, and i must to install another theme…

    #853379
    David
    Staff
    Customer Support

    Hi there,

    looks like that plugin doesn’t enqueue jQuery, which it should do seeing as it requires it.
    Unless you use the Sticky Navigation GP doesn’t load jQuery either as it doesn’t require it.

    You can force the them to load it with this snippet:

    add_action( 'wp_enqueue_scripts', function() {
        wp_enqueue_script( 'jquery' );
    } );

    https://docs.generatepress.com/article/adding-php/

    If that doesn’t solve it then i would need to see the Site to debug.

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