Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter robertallen

    (@robertallen)

    Is there a function I can add to AJAX success?

    Plugin Author Cipher

    (@cipherdevgroup)

    Hi @robertallen,

    This isn’t something the plugin was made to do out of the box, and therefore outside the scope of support in the forum. With that being said, since it just enqueues the Featherlight script so WordPress can use it, you should be able to make it work with Ajax.

    I would follow the instructions in the scripts doc to on using it with Ajax for some ideas: https://github.com/noelboss/featherlight/#usage

    Worst case scenario, you can always enqueue the script yourself and initiate it however you’d like.

    Thread Starter robertallen

    (@robertallen)

    Perfect documentation! I managed to get it working by enqueing the script as you suggested using the CDN. Thank you so much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘AJAX Pages’ is closed to new replies.