Answer the question
In order to leave comments, you need to log in
How to leave some js scripts in head?
I use moving all js scripts to the footer (Move all Javascript to the bottom of the page).
But Metrics, Google Analytics, Facebook counters should be in .
I tried to just use it in header.php, but it still takes everything to the footer. How to be? How to selectively leave scripts in ? <head>
<script></script>
<head>
Answer the question
In order to leave comments, you need to log in
I use moving all js scripts to the footer (Move all Javascript to the bottom of the page).
But Metrics, Google Analytics, Facebook counters should be in .
I tried to just use it in header.php, but it still takes everything to the basement. How to be? How to selectively leave scripts in ?
<script></script>
I use moving all js scripts to the footer (Move all Javascript to the bottom of the page).
< script data-skip-moving="true" >your script that doesn't need to be moved anywhere</script>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question