I’ve been having some trouble when applying a filter to a do_shortcode
.
I’m using Lazy Load XT and Ajax Load More and this is the code I have in my template that is not able to apply the filter to the_content
and lazy load the images in the posts.
<?php echo get_lazyloadxt_html(do_shortcode('[ajax_load_more]')); ?>
Is there any chance anyone can point me in the right direction? I was only able to find one post here suggesting that the wrapper might not be too happy with the shortcodes but the fix proposed doesn’t work for me. I’m using Roots 7.0.3 for this theme.