How to load scripts on custom non-header page?
-
We have a custom wordpress page that does not load the regular wordpress header.
What do I have to paste in this custom page’s header to make sure lazy load works?I tried:
<script type=’text/javascript’ src=’https://www.domain.com/wp-content/plugins/bj-lazy-load/js/combined.min.js?ver=0.6.10′></script>
But it does not work to echo an image:
<?php the_post_thumbnail(); ?>
Please help.
Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to load scripts on custom non-header page?’ is closed to new replies.