WordPress.org

Forums

Taxonomy Widget
[PATCH] Don't add JS unless necessary (1 post)

  1. flynsarmy
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Taxonomy Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.