Support » Plugin: Alpine PhotoTile for Instagram » callback function for the ajaxified site

  • Hey plug in works great having an issue on ajaxified site.
    The plug in loads on first load but if one leaves the page then returns back the script doesn’t load again.

    Any suggestions?
    What would be the correct call back function?
    Note I already have prettyPhoto installed and have it ticked in settings.
    My code below is not working when added to ajaxify.js file.

    scriptNode = document.createElement(‘script’);
    scriptNode.setAttribute(‘src’, rootUrl + ‘wp-content/plugins/alpine-photo-tile-for-instagram/js/prettyPhoto/js/jquery.prettyPhoto.js’);

    Best regards

  • The topic ‘callback function for the ajaxified site’ is closed to new replies.