Move JavaScript to the bottom – please…
-
It’s common practice to move JavaScript-loading-code to the bottom of the DOM just before the closing body tag to improve a site’s performance.
The WordPress function
wp_enqueue_script
provides a parameter exactly for this (as doeswp_register_script
).Please set this parameter to true. I manually edited
rotatingtweets.php
setting$in_footer=true
everywhere – plugin still plays nice.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Move JavaScript to the bottom – please…’ is closed to new replies.