limcolin
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Video Lightbox] Render lighbox with AjaxAh perfect!
Thanks so much.. That works..
Solved by manually binding the link click in the callback after new post is loaded:
jQuery(“a[rel=wp-video-lightbox]”).bind(‘click.prettyphoto’,jQuery.prettyPhoto.initialize);
Thanks so much mbrsolution!
Forum: Plugins
In reply to: [WP Video Lightbox] Render lighbox with AjaxHey mbrsolution,
Yes sir, that is exactly correct.
When the content is loaded via ajax, the shortcode doesn’t seem to trigger the popup for WP Video Lightbox.
The infinite scroll has an event after every post load that I can use. If you can tell me what script needs to be run, I can make it trigger after every ajax post load.
Or any help you can provide would be great.
Thanks so much!
Forum: Plugins
In reply to: [WP Video Lightbox] Render lighbox with AjaxHi there,
thanks for getting back.You will need to go to the URL of the previous post, then scroll down so the next post is ajax loaded…
then that ajax loaded post will have the video which doesn’t work. If you go straight to the post with the video, it will work fine because it wasn’t loaded by ajax.1) So you must first go to:
https://poutiq.co/the-teenage-millionaires-inside-the-world-of-the-fortnite-world-cup/Then scroll to the bottom and the next post will load, and then in the sidebar the link is titled:
“Experience The Silk Pavilion”The actual URL with the link is:
https://poutiq.co/neri-oxman-and-mother-nature-the-co-creators-of-a-bio-digital-age/But if you go straight to it, it works fine (because not loaded by ajax).
Hope this makes sense.
Forum: Plugins
In reply to: [Ajax Load More – Infinite Scroll, Load More, & Lazy Load] Single Post Add-onHey team,
Thanks, all good – i solved by using AddToAny and following Hadis’ solution from here:
https://ww.wp.xz.cn/support/topic/posts-repeated-and-no-share-buttons/..and your documentation’s almComplete callback example.
Just to note, triggering post-load (https://ww.wp.xz.cn/plugins/add-to-any/#how%20can%20i%20load%20the%20buttons%20after%20content%20insertion%20with%20ajax%20and%20infinite%20scroll%3F) didn’t get mine to work for jetpack.
And relying on addToAny to insert the buttons didn’t work either – I had to explicitly call the shortcode in the template.
In any case, loving this plugin – thanks for your work!