Hi MickWP
Can you tell me that the results content show in search.php are from plugins or custom code of theme ?
So that if it’s custom function of theme or plugin without use get thumbnail function of WP as:
– get_the_post_thumbnail
– wp_get_attachment_image
Regards,
Nguyen
Thread Starter
MickWP
(@mickwp)
Hi Nguyen,
It’s from custom code added to search.php file.
There is no use of
– get_the_post_thumbnail
– wp_get_attachment_image
That I know of, although the images are created via a shortcode to a plugin in search.php using do_shortcode.
Hope this helps.
Hi MickWP
Thanks for letting me know about that information, and i can answer that it does not work for shortcode from search.php file, a3 Lazy Load don’t support shortcode from themes or plugins like what i said on this topic Working with video shortcodes
If you can edit the code of search.php, you should make like what i suggested, find where have this
do_shortcode( ... );
and change to
apply_filters( 'a3_lazy_load_html', do_shortcode( ... );
Hope that it can solve for your search.php file
Regards,
Nguyen
Hi MickWP
I’m happy that it solves for issue you are getting
Hope that you have best review for this plugin so that we have motivation to make best features on future
Regards,
Nguyen
Thread Starter
MickWP
(@mickwp)
Hi Nguyen,
I will leave a good review now – it looks like it is working just as I wanted.
Just before I do, what is the difference between the script you have based this plugin on:
https://github.com/ressio/lazy-load-xt
and the script here:
https://github.com/aFarkas/lazysizes
Is there any difference?
Thank you.
Hi MickWP
They are different script libs, I not ever use lazysizes so I don’t know what is different between them.
Have many lazy script libs, but Lazy Load XT has many control, options and addon support for extend our plugin.
Regards,
Nguyen