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
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
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
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 🙂
It was a issue with the video plugin. Added update function to their plugin and now it works 🙂