WordPress.org

Ready to get started?Download WordPress

Forums

WP Emphasis
How to deregister Emphasis? (1 post)

  1. otravers
    Member
    Posted 1 year ago #

    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:

    wp_deregister_script('emphasis');

    (with a variation of the above I'm able to deregister Jquery so I can load it from the Google CDN)

    wp_deregister_script('emphasis.js');

    wp_deregister_script('emphasis.js?ver=1349884759');

    Any suggestions?

    http://wordpress.org/extend/plugins/wp-emphasis/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic