dcooney on "[Plugin: Ajax Load More - Infinite Scroll] Dynamic content does not work inside ALM"

ساخت وبلاگ

Hi,

I am trying to use the built in wordpress audio embedding, which works everywhere on my site except when the post is loaded with ALM. I have tried looking at similar posts to sort out the issue, but haven't been successful. Does anyone know how to make this work?

Thanks

https://wordpress.org/plugins/ajax-load-more/

Hi,
I haven't tried the wordpress audio embed but the issue is (as you said) related to the dynamic content. You would need to trigger whatever function is required to initiate the wordpress audio after you load the posts.

Hi, I am also having a similar issue described by keri23. I am embedding audio using the default WordPress media player in my posts, and then loading those posts with ALM. All of the content (text & images) display properly except the audio player.

Using my browser's dev tools, I noticed that the audio player IS there, but it's visibility has been set to "visibility:hidden". When I change this manually after the page has loaded, I can see the audio player and it works fine.

Does that sound like I need to call some function in order to initialize the audio player and have their visibility set to visible? What function would that be?

Thanks.

You might need to use the almCOmplete callback function to display the audio player.
https://connekthq.com/plugins/ajax-load-more/docs/callback-functions/almcomplete/

I don't have another experience with this audio player so I wont be much help.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 116 تاريخ : دوشنبه 6 ارديبهشت 1395 ساعت: 6:57