WordPress.org

Support

Support » How-To and Troubleshooting » "wp_register_script" how-to question??

"wp_register_script" how-to question??

  • I need to add the following JS to the <head></head> of every page, but I don’t know how to add the “data-cfasync=”false” ” by using “wp_register_script” or “wp_enqueue_scripts”. Please help!!

    <script data-cfasync=”false” type=”text/javascript” src=”http://use.typekit.com/YOUR-KIT-ID.js”></script>
    <script data-cfasync=”false” type=”text/javascript”>try{Typekit.load();}catch(e){}</script>

    Thanks.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘"wp_register_script" how-to question??’ is closed to new replies.