LazyLoad: please declare scripts the WordPress way
-
Dear plugin author,
This plugin is amazing in many ways.
However, can you please declare scripts the WordPress way using the function wp_enqueue_script, so they can be dequeued using the function wp_dequeue_script. Please see for more info WordPress documentation:
https://developer.ww.wp.xz.cn/reference/functions/wp_enqueue_script/
https://codex.ww.wp.xz.cn/Function_Reference/wp_dequeue_scriptAt the moment the JS for example for LazyLoad is hardcoded into a HTML file, which means you can’t override it for certain pages for example. Also the switch in the backend doesn’t work for this?
- This topic was modified 8 years, 4 months ago by .
- This topic was modified 8 years, 4 months ago by .
- This topic was modified 8 years, 4 months ago by .
- This topic was modified 8 years, 4 months ago by .
- This topic was modified 8 years, 4 months ago by .
The topic ‘LazyLoad: please declare scripts the WordPress way’ is closed to new replies.