Title: Callback function for slider
Last modified: March 8, 2020

---

# Callback function for slider

 *  Resolved [emj](https://wordpress.org/support/users/emj/)
 * (@emj)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/callback-function-for-slider-2/)
 * Hi,
 * I need to write a Callback function to get this slider working with the Ajax 
   Load More (ALM) plugin.
 * The ALM plugin developer asked me to find out what function is called to initiate
   the sliders:
    [https://connekthq.com/plugins/ajax-load-more/docs/callback-functions/almcomplete/](https://connekthq.com/plugins/ajax-load-more/docs/callback-functions/almcomplete/)
 * Are you able to provide that information please? Or assist with writing the callback
   function?
 * Thanks so much,
    Em.j

Viewing 1 replies (of 1 total)

 *  [Rafik](https://wordpress.org/support/users/rafikwp/)
 * (@rafikwp)
 * [6 years ago](https://wordpress.org/support/topic/callback-function-for-slider-2/#post-12530768)
 * Hello,
 * Thanks for reaching here.
    There are many types of the slider available in this
   plugin, every slider has different initialization code. please let me know which
   slider are you going to use? so we can try this. As per their documentation callback
   function is called after every successful Ajax Load More query so we can add 
   our slider initialize code inside the load more callback function like this way
 *     ```
       window.almComplete = function(alm){
          //Our slider initialization code will be here.
       };
       ```
   
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘Callback function for slider’ is closed to new replies.

 * ![](https://ps.w.org/sliderspack-all-in-one-image-sliders/assets/icon-128x128.
   png?rev=1751649)
 * [Slider a SlidersPack - Image Slider, Post Slider, ACF Gallery Slider](https://wordpress.org/plugins/sliderspack-all-in-one-image-sliders/)
 * [Support Threads](https://wordpress.org/support/plugin/sliderspack-all-in-one-image-sliders/)
 * [Active Topics](https://wordpress.org/support/plugin/sliderspack-all-in-one-image-sliders/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sliderspack-all-in-one-image-sliders/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sliderspack-all-in-one-image-sliders/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Rafik](https://wordpress.org/support/users/rafikwp/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/callback-function-for-slider-2/#post-12530768)
 * Status: resolved