• Resolved evarubin

    (@evarubin)


    Hi there,

    I’ve been loving this plugin, so thank you ??

    I’m not sure what happened. I disabled Jet Pack and I noticed afterward that the lazy load function no longer worked. I”m not sure If I just didn’t notice it earlier, or if there is a connection. I reinstalled Jet Pack, and it hasn’t affected the functionality of lazy load.

    https://www.ads-software.com/plugins/disqus-conditional-load/

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter evarubin

    (@evarubin)

    any thoughts about what I could’ve done that messed up the lazy load, or any changes with disqus up upgrades that may have affected it?

    much appreciated,
    eva

    Plugin Author Joel James

    (@joelcj91)

    Hi Eva,

    Sure I will help. Could you please give one example page where I can see the issue live?

    Thread Starter evarubin

    (@evarubin)

    Hi Joel,

    Thanks for the quick response. I have it set to lazy load “on scroll” again so you can see that nothing loads (at least not for me).

    https://highlysensitiveintrovert.com/introvert-wisdom-when-i-quit-is-best/

    this is an example, but it’s true for every blog post. when i disable lazy load, the ability to comment is there again.

    thank you!

    Eva

    Plugin Author Joel James

    (@joelcj91)

    Hi Eva,

    Thanks for your patience and sorry for the late reply.

    I can see few jQuery errors in your theme. Please see this screenshot.
    I think the issue is that your theme using the older version of jquery ( under 1.7) and few other plugins (including our plugin) are trying to use new version. Is it possible for you to change it?

    Let me know if you require any help regarding that.

    Thread Starter evarubin

    (@evarubin)

    Hi Joel,

    I really appreciate your help in identifying the problem. I could change it but not sure what I need to do exactly.

    I am decent at following directions and monkeying around if you could point in the right direction, or let me know what to search for, I can probably figure it out.

    Thank you again!
    Eva

    Thread Starter evarubin

    (@evarubin)

    Actually, I think I know how I might’ve broken the on scroll capacity. I added the backstretch images to each blog post. I’m probably calling an old version of jquery from inside one of those files…I don’t know if that’s the problem or not, but I’ll see if I can suss it out.

    Thanks,
    Eva

    Plugin Author Joel James

    (@joelcj91)

    Hi Eva,

    Before that please add <?php wp_enqueue_script("jquery"); ?> to your theme’s header.php file, just above the line <?php wp_head(); ?>. Will proceed with other method if that doesn’t work.

    If you are not sure about this, please give me access to your backend.

    Thread Starter evarubin

    (@evarubin)

    I will do that – but just looked at this in my functions.php file:

    wp_enqueue_script( ‘custom-backstretch’, get_bloginfo( ‘stylesheet_directory’ ) . ‘/js/backstretch.js’, array( ‘jquery’ ), ‘1.0.0’ );
    wp_enqueue_script( ‘custom-backstretch-set’, get_bloginfo(‘stylesheet_directory’).’/js/backstretch-set.js’ , array( ‘jquery’, ‘custom-backstretch’ ), ‘1.0.0’ );

    Would this cause the problem?

    Thread Starter evarubin

    (@evarubin)

    I know this is beyond the scope of your support for the disqus plugin. Really, I appreciate you helping me identifying the problem and I’m grateful for your fast response…I’ll keep working on it.

    Again, thank you ??
    Eva

    Plugin Author Joel James

    (@joelcj91)

    No Eva,

    I think those lines are fine. Could you please try the other method which I suggested before?

    I will try to add a solution for these kind of conflicts from next plugin update.

    Thread Starter evarubin

    (@evarubin)

    Hi Joel,

    I add the line to see if it works, but I’m using the latest updated Genesis plugin, so I’m guessing that they have the code pretty dialed in. It only became an issue after I added the backstretch images, so I’m guessing it has more to do with what I did. Also, if I add it to the header.php file then it’ll get over-written each time I update – if I’m understanding how it works correctly.

    Nonetheless, I’ll give it a shot now and see what happens.
    Eva

    Plugin Author Joel James

    (@joelcj91)

    yes. You are right. It will be over-written. For that, I will release a fix soon through next update.

    Thread Starter evarubin

    (@evarubin)

    Hi Joel,

    No dice. Disqus Conditional Load didn’t show up while on “on scroll” after putting:

    wp_enqueue_script(“jquery”);

    after:
    wp_head();

    in header.php

    Plugin Author Joel James

    (@joelcj91)

    Hi Eva,

    That’s strange. Anyway can you please give me access to your backend (or even FTP)? If possible send me details to

    me at joelsays dot com

    Let’s see if I can fix it from there.

    Plugin Author Joel James

    (@joelcj91)

    Hi Eva,

    Are you sure that it works when you activate JetPack? Could you please enable it for a couple of minutes for me to check?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘on scroll and on click all of a sudden are not working, disable lazy load works’ is closed to new replies.