Change Featured Images SRC path?
-
The new lazy load works by switching the data-source tag with the src tag.
You place a dummy image in the src tag till the real image is loaded.. like<img data-original=“img/example.jpg” src=“img/grey.gif”>
Is there a way to have the php side of wordpress do this? Something I can add to a function file? It can’t be jquery as it loads after the DOM is ready.
- The topic ‘Change Featured Images SRC path?’ is closed to new replies.