Where to add image preload HTML to head of a page?

Greetings. I’m trying to make the following appear in the head of a particular page to preload an image. I’m running PRO and have a child theme.

<link rel="preload" as="image" href="https://cdn.domainname.com/wp-content/uploads/2022/07/filmmakingpic-1.webp">

Is there anything I can put into the ID, Class or Element CSS fields to do the same thing? Looking for the most effective way to preload the image.

Thanks!

Hello Alan,

Thanks for writing to us.

Regretfully there is no option in the theme to insert custom code, it would require custom development I would suggest you please contact a developer who can assist you with your concerns or subscribe to One where customization questions are answered. Please note we don’t provide custom development support it is out of the support scope.

Alternatively please have a look at this article to learn more about how to insert the custom code in the Header or Footer with the help of plugins.

Hope it helps
Thanks for understanding

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.