WordPress.org

Support

Support » Plugins and Hacks » Taxonomy Widget » [PATCH] Don't add JS unless necessary

[PATCH] Don't add JS unless necessary

  • I noticed a changeTaxonomy function was being added to my page source even though I wasn’t using the dropdown list style. This can be fixed with a slight modification to /taxonomy-widget.php.

    At the top of the listeners_print() function add

    if ( !sizeof(self::$listeners) )
    	return;

    http://wordpress.org/plugins/taxonomy-widget/

  • The topic ‘[PATCH] Don't add JS unless necessary’ is closed to new replies.
Skip to toolbar