I’m trying to use wp_deregister_script to be able to conditionally load emphasis.js only when needed (i.e. in the entry template), but I couldn’t get the script not to load. I tried the following in functions.php:
(with a variation of the above I’m able to deregister Jquery so I can load it from the Google CDN)
- The topic ‘How to deregister Emphasis?’ is closed to new replies.