• Help Center
  • Instagram feed InstaShow doesn’t load on ajax-powered WordPress websites

Instagram feed InstaShow doesn’t load on ajax-powered WordPress websites

Customers with ajax-powered WordPress websites have sometimes complained of a plugin loading issue. The gist of the issue is that when you visit a page without the plugin, and then go to the page with the plugin, the plugin doesn’t load until you refresh the page. Ajax functionality can be implemented in different ways, and different themes require different solutions. If you’re using one of these WordPress themes – Bridge, Stockholm, Nouveau, Vigor we have a ready solution for you.

First, you need to go to Preferences page and enable the option “Add InstaShow script to every page”. Next, add the following code to Custom CSS field:

jQuery(function($) {
   if (typeof perPageBindings === 'function') { 
       var perPageBindingsOrig = perPageBindings; 
       perPageBindings = function() { 
           jQuery.instaShow(); 
           perPageBindingsOrig(); 
       }; 
   }
});

If you’re using another ajax-powered theme, open a ticket at our Support Center, and we’ll do the best we can to help you!