Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hey Remie,

    It looks like the page is not running the function that loads the posts when you switch from tab to tab. You can use some custom Javascript to force it to load again when the instagram link is clicked. Try going to the Settings page, “Customize” tab and pasting in this javascript in the “Custom Javascript” area:

    jQuery('a[href="instagram"]').click(function() {
      setTimeout(function(){
        sbi_init();
      }, 1000);
    });

    Let me know if you need more help with this!

    Thread Starter remiasaus

    (@remiasaus)

    Hi Craig,

    Thanks for the quick response.
    I pasted the javascript in the custom javascript area and I still have the same problem. If I navigate to the page with the menu it doesn’t work, if I then refresh the page it works. (as before) But if I then navigate to the page again with the menu, while the feed is already working, then it does work for one time.

    So the javascript did do something.

    I hope you can still help me out!

    Remie

    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hey Remie,

    Hmm maybe you could try adding some more time to the delay in the code to allow for the page changing. Try this:

    jQuery('a[href="instagram"]').click(function() {
      setTimeout(function(){
        sbi_init();
      }, 2000);
    });

    I noticed that the extra javascript was not included on the page. Did you remove it once it wasn’t working or is it not being included on the page for some other reason? That might also explain the problem.

    Thread Starter remiasaus

    (@remiasaus)

    Hi Craig,

    Yes I removed it after.. This one also has the same effect.
    It is still in the page so you can see what it does.

    Remie

    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hi again Remie,

    One thing that you could try (that didn’t occur to me for some reason) is our setting specifically for Ajax themes on the “Configure” tab. Try checking the box that asks “Are you using an Ajax theme”. This will load the necessary javascript file right after the feed.

    If this doesn’t work, see whether your theme or plugin has a “Reload code/script” settings field where you can enter code/scripts to be re-run when a new page is navigated to. An example of this would be the “Advanced AJAX Page Loader” plugin, which has a “Reload Code” section on it’s Settings page. Try adding the following to that settings field so that the Instagram Feed JavaScript is re-run when navigating to a new page: sbi_init();

    Let me know how it goes!

    Thanks,

    Craig

    Thread Starter remiasaus

    (@remiasaus)

    Hi Craig,

    Checking the box did the job!

    Thank you very much!

    Remie

    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Awesome! Sorry I didn’t think of that right away. Must have been an off day for me yesterday :).

    Also, no obligation of course, but if you like the plugin and feel like leaving a super-quick review then we always really appreciate it!

    If you need anything in the future I’d be happy to help.

    Thanks,

    Craig

    Thread Starter remiasaus

    (@remiasaus)

    No worries, i’m glad I contacted you guys rather then downloading another plugin. Thanks again! I will definitely leave a review.

    Remie

    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    You rock Remie! Very much appreciated. I’m glad you contacted us too we always want to make sure any potential bug is taken care of. Have a great week!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Feed keeps loading when navigating with menu’ is closed to new replies.