WordPress.org

Ready to get started?Download WordPress

Forums

Alpine PhotoTile for Instagram
callback function for the ajaxified site (1 post)

  1. tony721
    Member
    Posted 3 months ago #

    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');
    contentNode.appendChild(scriptNode);
    scriptNode.setAttribute('src', rootUrl + 'wp-content/plugins/alpine-photo-tile-for-instagram/js/prettyPhoto/js/jquery.prettyPhoto.js');

    Best regards

    https://wordpress.org/plugins/alpine-photo-tile-for-instagram/

Reply

You must log in to post.

About this Plugin

About this Topic