Title: Feed keeps loading when navigating with menu
Last modified: August 31, 2016

---

# Feed keeps loading when navigating with menu

 *  [remiasaus](https://wordpress.org/support/users/remiasaus/)
 * (@remiasaus)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/feed-keeps-loading-when-navigating-with-menu/)
 * Hi Smashballoon,
 * First of all: great plugin!
 * I ran into a problem though. My feed is only showing when I go to the page directly.
   So if I enter the page url in my browser, the feed shows as it should. However
   if I navigate to the page with my menu, then the feed keeps loading..
 * Website link: [http://ufo-show.com/](http://ufo-show.com/)
    The page link: [http://ufo-show.com/instagram/](http://ufo-show.com/instagram/)
 * I have no clue what this could be.. help needed please!
 * Greetz,
 * Remie
 * [https://wordpress.org/plugins/instagram-feed/](https://wordpress.org/plugins/instagram-feed/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Contributor [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * (@craig-at-smash-balloon)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/feed-keeps-loading-when-navigating-with-menu/#post-7187107)
 * 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](https://wordpress.org/support/users/remiasaus/)
 * (@remiasaus)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/feed-keeps-loading-when-navigating-with-menu/#post-7187113)
 * 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 Contributor [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * (@craig-at-smash-balloon)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/feed-keeps-loading-when-navigating-with-menu/#post-7187147)
 * 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](https://wordpress.org/support/users/remiasaus/)
 * (@remiasaus)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/feed-keeps-loading-when-navigating-with-menu/#post-7187148)
 * 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 Contributor [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * (@craig-at-smash-balloon)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/feed-keeps-loading-when-navigating-with-menu/#post-7187182)
 * 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](https://wordpress.org/support/users/remiasaus/)
 * (@remiasaus)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/feed-keeps-loading-when-navigating-with-menu/#post-7187183)
 * Hi Craig,
 * Checking the box did the job!
 * Thank you very much!
 * Remie
 *  Plugin Contributor [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * (@craig-at-smash-balloon)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/feed-keeps-loading-when-navigating-with-menu/#post-7187184)
 * 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](https://wordpress.org/support/view/plugin-reviews/instagram-feed)
   then we always really appreciate it!
 * If you need anything in the future I’d be happy to help.
 * Thanks,
 * Craig
 *  Thread Starter [remiasaus](https://wordpress.org/support/users/remiasaus/)
 * (@remiasaus)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/feed-keeps-loading-when-navigating-with-menu/#post-7187185)
 * No worries, i’m glad I contacted you guys rather then downloading another plugin.
   Thanks again! I will definitely leave a review.
 * Remie
 *  Plugin Contributor [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * (@craig-at-smash-balloon)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/feed-keeps-loading-when-navigating-with-menu/#post-7187186)
 * 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.

 * ![](https://ps.w.org/instagram-feed/assets/icon-256x256.png?rev=2700807)
 * [Smash Balloon Social Photo Feed – Easy Social Feeds Plugin](https://wordpress.org/plugins/instagram-feed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/instagram-feed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/instagram-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/instagram-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/instagram-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/instagram-feed/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/feed-keeps-loading-when-navigating-with-menu/#post-7187186)
 * Status: not resolved