Title: resolved topic not resolved
Last modified: August 22, 2016

---

# resolved topic not resolved

 *  Resolved [pisang20](https://wordpress.org/support/users/pisang20/)
 * (@pisang20)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/resolved-topic-not-resolved/)
 * Hello,
 * You put resolved but I did not understhand how could I achieve it that the colorbox
   functionality will load every time new set of posts are loaded? for ajax infinite
   scroll
 * thx
 * [https://wordpress.org/plugins/wp-colorbox/](https://wordpress.org/plugins/wp-colorbox/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Noor Alam](https://wordpress.org/support/users/naa986/)
 * (@naa986)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/resolved-topic-not-resolved/#post-5788655)
 * Hi, sorry about that. I forgot to check the post. It actually requires coding
   knowledge. Are you good with editing code?
 * [https://wordpress.org/support/topic/infinite-scroll-colorbox](https://wordpress.org/support/topic/infinite-scroll-colorbox)
 *  Thread Starter [pisang20](https://wordpress.org/support/users/pisang20/)
 * (@pisang20)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/resolved-topic-not-resolved/#post-5788658)
 * Not so much. I know some simple stuff but still learning. If you can give me 
   guidance then Im willing to try. I thought it was as simple as just as add colorbox
   function into infinitescroll.js callback.
 * infinitescroll.js is here: [http://pastebin.com/4sLcu2qW](http://pastebin.com/4sLcu2qW)
 *  Plugin Author [Noor Alam](https://wordpress.org/support/users/naa986/)
 * (@naa986)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/resolved-topic-not-resolved/#post-5788686)
 * Well, I don’t really understand the infinitescroll.js script. But I believe you
   will need to call the colorbox function where you are dynamically loading content.
   You will be able to find the function call in this script.
 * `/wp-content/plugins/wp-colorbox/wp-colorbox.js`
 *  Thread Starter [pisang20](https://wordpress.org/support/users/pisang20/)
 * (@pisang20)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/resolved-topic-not-resolved/#post-5788689)
 * All this need to be included to callback?
 *     ```
       jQuery(document).ready(function($) {
           $(".wp-colorbox-image").colorbox({maxWidth:"99%", maxHeight: "99%"});
           $(".wp-colorbox-youtube").colorbox({iframe:true, width:"90%", height:"90%", maxWidth:640, maxHeight: 480});
           $(".wp-colorbox-vimeo").colorbox({iframe:true, width:"90%", height:"90%", maxWidth:640, maxHeight: 480});
           $(".wp-colorbox-iframe").colorbox({iframe:true, width:"80%", height:"80%"});
           $(".wp-colorbox-inline").colorbox({inline:true, width:"90%", maxWidth:640});
       });
       ```
   
 * Thx 🙂
 *  Thread Starter [pisang20](https://wordpress.org/support/users/pisang20/)
 * (@pisang20)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/resolved-topic-not-resolved/#post-5788691)
 * It was a issue with the video plugin. Added update function to their plugin and
   now it works 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘resolved topic not resolved’ is closed to new replies.

 * ![](https://ps.w.org/wp-colorbox/assets/icon-128x128.png?rev=2610062)
 * [WP Colorbox](https://wordpress.org/plugins/wp-colorbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-colorbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-colorbox/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-colorbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-colorbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-colorbox/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [pisang20](https://wordpress.org/support/users/pisang20/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/resolved-topic-not-resolved/#post-5788691)
 * Status: resolved