diff --git a/readme.txt b/readme.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1cdab767824b16214bafa6fcff248ca8dac4009
--- /dev/null
+++ b/readme.txt
@@ -0,0 +1,166 @@
+=== Taxonomy Dropdown Widget ===
+Contributors: ethitter
+Donate link: http://www.ethitter.com/plugins/taxonomy-dropdown-widget/
+Tags: tag, tags, taxonomy, sidebar, widget, widgets, dropdown, drop down
+Requires at least: 2.8
+Tested up to: 3.4
+Stable tag: 2.0.3
+
+Creates a dropdown list of non-hierarchical taxonomies as an alternative to the term (tag) cloud. Formerly known as Tag Dropdown Widget.
+
+== Description ==
+
+Creates dropdown lists of non-hierarchical taxonomies (such as `post tags`) as an alternative to term (tag) clouds. Multiple widgets can be used, each with its own set of options.
+
+Numerous formatting options are provided, including maximum numbers of terms, term order, truncating of term names, and more.
+
+Using the `taxonomy_dropdown_widget` function, users can generate dropdowns for use outside of the included widget.
+
+This plugin was formerly known as the `Tag Dropdown Widget`. It was completely rewritten for version 2.0.
+
+== Installation ==
+
+1. Upload taxonomy-dropdown-widget.php to /wp-content/plugins/.
+2. Activate plugin through the WordPress Plugins menu.
+3. Activate widget from the Appearance > Widgets menu in WordPress.
+4. Set display options from the widget's administration panel.
+
+== Frequently Asked Questions ==
+
+= What happened to the Tag Dropdown Widget plugin? =
+
+Since I first released this plugin in November 2009, WordPress introduced custom taxonomies and, as more-fully discussed below, saw a new widgets API overtake its predecessor. As part of the widgets-API-related rewrite, I expanded the plugin to support non-hierarchical custom taxonomies, which necessitated a new name for the plugin.
+
+= Why did you rewrite the plugin? =
+
+When I first wrote the Tag Dropdown Widget plugin (and it's sister Tag List Widget), WordPress was amidst a change in how widgets were managed. I decided to utilize the old widget methods to ensure the greatest compatibility at the time. In the nearly two years since I released version 1.0, the new widget system has been widely adopted, putting this plugin at a disadvantage. So, I rewrote the plugin to use the new widget API and added support for non-hierarchical taxonomies other than just post tags.
+
+= I upgraded to version 2.0 and all of my widgets disappeared. What happened? =
+
+As discussed above, WordPress' widget system has changed drastically since I first released this plugin. To facilitate multiple uses of the same widget while allowing each to maintain its own set of options, the manner for storing widget options changed. As a result, there is no practical way to transition a widget's options from version 1.7 to 2.0.
+
+= If my theme does not support widgets, or I would like to include the dropdown outside of the sidebar, can I still use the plugin? =
+
+Insert the function `<?php if( function_exists( 'taxonomy_dropdown_widget' ) ) echo taxonomy_dropdown_widget( $args, $id ); ?>` where the dropdown should appear, specifying `$args` as an array of arguments and, optionally, `$id` as a string uniquely identifying this dropdown.
+
+* taxonomy - slug of taxonomy for dropdown. Defaults to `post_tag`.
+* select_name - name of first (default) option in the dropdown. Defaults to `Select Tag`.
+* max_name_length - integer representing maximum length of term name to display. Set to `0` to show full names. Defaults to `0`.
+* cutoff - string indicating that a term name has been cutoff based on the `max_name_length` setting. Defaults to an ellipsis (`&hellip;`).
+* limit - integer specifying maximum number of terms to retrieve. Set to `0` for no limit. Defaults to `0`.
+* orderby - either `name` to order by term name or `count` to order by the number of posts associated with the given term. Defaults to `name`.
+* order - either `ASC` for ascending order or `DESC` for descending order. Defaults to `ASC`.
+* threshold - integer specifying the minimum number of posts to which a term must be assigned to be included in the dropdown. Set to `0` for now threshold. Defaults to `0`.
+* incexc - `include` or `exclude` to either include or exclude the terms whose IDs are included in `incexc_ids`. By default, this restriction is not enabled.
+* incexc_ids - comma-separated list of term IDs to either include or exclude based on the `incexc` setting.
+* hide_empty - set to `false` to include in the dropdown any terms that haven't been assigned to any objects (i.e. unused tags). Defaults to `true`.
+* post_counts - set to `true` to include post counts after term names. Defaults to `false`.
+
+= Why are the makeTagDropdown(), TDW_direct(), and generateTagDropdown() functions deprecated? =
+
+Version 2.0 represents a complete rewrite of the original Tag Dropdown Widget plugin. As part of the rewrite, all prior functions for generating tag dropdowns were deprecated, or marked as obsolete, because they are unable to access the full complement of features introduced in version 2.0. While the functions still exist, their capabilities are extremely limited and they should not be replaced with `taxonomy_dropdown_widget()`.
+
+= Where do I obtain a term's ID for use with the inclusion or exclusion options? =
+
+Term IDs can be obtained in a variety of ways. The easiest is to visit the taxonomy term editor (Post Tags, found under Posts, for example) and, while hovering over the term's name, looking at your browser's status bar. At the very end of the address shown in the status bar, the term ID will follow the text "tag_ID."
+
+You can also obtain the term ID by clicking the edit link below any term's name in the Post Tags page. Next, look at your browser's address bar. At the very end of the address, the term ID will follow the text "tag_ID."
+
+= I'd like more control over the tags shown in the dropdown. Is this possible? =
+
+This plugin relies on WordPress' `get_terms` function (http://codex.wordpress.org/Function_Reference/get_terms). To modify the arguments passed to this function, use the `taxonomy_dropdown_widget_options` filter to specify any of the arguments discussed in the Codex page for `get_terms`.
+
+To make targeting a specific filter reference possible should you use multiple instances of the dropdown (multiple widgets, use of the `taxonomy_dropdown_widget` function, or some combination thereof), the filter provides a second argument, `$id`, that is either the numeric ID of the widget's instance or the string provided as the second argument to `taxonomy_dropdown_widget`.
+
+== Changelog ==
+
+= 2.0.3 =
+* Correct problem in WordPress 3.3 and higher that resulted in an empty taxonomy dropdown.
+* Remove all uses of PHP short tags.
+
+= 2.0.2 =
+* Allow empty title in widget options. If empty, the `taxonomy_dropdown_widget_title` filter isn't run.
+
+= 2.0.1 =
+* Fix fatal error in older WordPress versions resulting from PHP4 and PHP5 constructors existing in widget class.
+
+= 2.0.0.2 =
+* Fix bug in post count threshold that resulted in no terms being listed.
+
+
+= 2.0.0.1 =
+* Fix bug that appended cutoff indicators when unnecessary.
+
+= 2.0 =
+* Completely rewritten plugin to use WordPress' newer Widgets API.
+* Drop support for WordPress 2.7 and earlier.
+* Add support for all public, non-hierarchical custom taxonomies, in addition to Post Tags.
+* Introduce new, more flexible function for manually generating dropdown menus.
+* Introduce options requested by the community, such as control over the default dropdown item.
+* Fixed persistent bugs in the include/exclude functionality.
+* Widget admin is translation-ready.
+
+= 1.7 =
+* Replaced `TDW_direct` and `makeTagDropdown` with `generateTagDropdown`.
+* Recoded entire plugin to simplify and clean up overall functionality.
+* Switched exclude functionality to use tag ids rather than tag slugs.
+* Added numerous additional options to the widget panel based on user response, as detailed below.
+* Added the ability to specify the indicator shown when a tag name is trimmed.
+* Added the ability to limit the number of tags shown.
+* Added the ability to specify the minimum number of posts a given tag must be associated with before it will show in the dropdown.
+* Added options for specifying the order tags are displayed in.
+* Added the ability to specify a list of tags to include in the dropdown, expanding on the existing ability to exclude certain tags.
+* Added the option to display tags which aren't associated with any posts.
+* Added the `TagDropdown_get_tags` filter to provide advanced users the ability to modify the arguments passed to WordPress' `get_tags` function. Using this filter, the trimming, trimming indicator, and count display settings are still obeyed.
+
+= 1.6 =
+* Add `TDW_direct` function.
+* Add count and exclusion options to new direct-implementation function (`TDW_direct`).
+* Corrects two XHTML validation errors.
+
+= 1.5.2 =
+* Unloads tag exclusion list upon deactivation.
+
+= 1.5.1 =
+* Moved plugin pages to ethitter.com.
+
+= 1.5 =
+* Added option to display number of posts within each tag.
+
+= 1.4 =
+* Added option to exclude tags based on comma-separated list of slugs.
+
+= 1.3 =
+* Rewrote certain widget elements for compatibility back to version 2.3.
+
+= 1.2 =
+* Added function to remove plugin settings when deactivated.
+
+= 1.1 =
+* Added the ability to trim tag names when calling the function directly.
+
+== Upgrade Notice ==
+
+= 2.0.3 =
+Corrects a problem in WordPress 3.3 and higher that resulted in an empty taxonomy dropdown. Also removes all uses of PHP short tags.
+
+= 2.0.2 =
+Allows empty title in widget options. If empty, the `taxonomy_dropdown_widget_title` filter isn't run.
+
+= 2.0.1 =
+Fixes a backwards-compatibility problem in the widget class that generated fatal errors in WordPress 3.0 and earlier.
+
+= 2.0.0.2 =
+Fixes a minor bug in the post count threshold setting.
+
+= 2.0.0.1 =
+Fixes minor bug that appended cutoff indicators when unnecessary.
+
+= 2.0 =
+The plugin was renamed, completely rewritten, and drops support for WordPress 2.7 and earlier. Upgrading will delete all of your existing widgets; see the FAQ for an explanation. Review the changelog and FAQ for more information.
+
+= 1.7 =
+This is a major revision to the Tag Dropdown Widget. Before upgrading, please be aware that both `TDW_direct` and `makeTagDropdown` are deprecated functions that will be eliminated in version 2 of this plugin. Additionally, tags can no longer be excluded based on slug. See changelog for full details.
+
+= 1.6 =
+Replaces `makeTagDropdown` with `TDW_direct` function, adds post count and exclusion options to direct-implementation function. `makeTagDropdown` function retained for backwards compatibility, but will be phased out in a future release. Corrects two XHTML validation errors.
\ No newline at end of file
diff --git a/tag-dropdown-widget.php b/tag-dropdown-widget.php
new file mode 100644
index 0000000000000000000000000000000000000000..3b591effdb89d03231f7516bb77a5596641d060c
--- /dev/null
+++ b/tag-dropdown-widget.php
@@ -0,0 +1,589 @@
+<?php
+/*
+Plugin Name: Taxonomy Dropdown Widget
+Plugin URI: http://www.ethitter.com/plugins/taxonomy-dropdown-widget/
+Description: Creates a dropdown list of non-hierarchical taxonomies as an alternative to the term (tag) cloud. Widget provides numerous options to tailor the output to fit your site. Dropdown function can also be called directly for use outside of the widget. Formerly known as <strong><em>Tag Dropdown Widget</em></strong>.
+Author: Erick Hitter
+Version: 2.0.3
+Author URI: http://www.ethitter.com/
+*/
+
+/**
+ ** TAXONOMY DROPDOWN WIDGET PLUGIN
+ **/
+class taxonomy_dropdown_widget_plugin {
+	/*
+	 * Class variables
+	 */
+	var $option_defaults = array(
+		'taxonomy' => 'post_tag',
+		'select_name' => 'Select Tag',
+		'max_name_length' => 0,
+		'cutoff' => '&hellip;',
+		'limit' => 0,
+		'order' => 'ASC',
+		'orderby' => 'name',
+		'threshold' => 0,
+		'incexc' => 'exclude',
+		'incexc_ids' => array(),
+		'hide_empty' => true,
+		'post_counts' => false
+	);
+
+	/*
+	 * Register actions and activation/deactivation hooks
+	 * @uses add_action, register_activation_hook, register_deactivation_hook
+	 * @return null
+	 */
+	function __construct() {
+		add_action( 'widgets_init', array( $this, 'action_widgets_init' ) );
+
+		register_activation_hook( __FILE__, array( $this, 'activation_hook' ) );
+		register_deactivation_hook( __FILE__, array( $this, 'deactivation_hook' ) );
+	}
+
+	/*
+	 * Run plugin cleanup on activation
+	 * @uses $this::cleanup
+	 * @hook activation
+	 * @return null
+	 */
+	function activation_hook() {
+		$this->cleanup();
+	}
+
+	/*
+	 * Unregister widget when plugin is deactivated and run cleanup
+	 * @uses unregister_widget, $this::cleanup
+	 * @hook deactivation
+	 * @return null
+	 */
+	function deactivation_hook() {
+		unregister_widget( 'taxonomy_dropdown_widget' );
+
+		$this->cleanup();
+	}
+
+	/*
+	 * Remove options related to plugin versions older than 2.0.
+	 * @uses delete_option
+	 * @return null
+	 */
+	function cleanup() {
+		$legacy_options = array(
+			'widget_TagDropdown',
+			'widget_TagDropdown_exclude',
+			'function_TagDropdown',
+			'TDW_direct'
+		);
+
+		foreach( $legacy_options as $legacy_option )
+			delete_option( $legacy_option );
+	}
+
+	/*
+	 * Register widget
+	 * @uses register_widget
+	 * @action widgets_init
+	 * @return null
+	 */
+	function action_widgets_init() {
+		if( class_exists( 'taxonomy_dropdown_widget' ) )
+			register_widget( 'taxonomy_dropdown_widget' );
+	}
+
+	/*
+	 * Render widget
+	 * @param array $options
+	 * @param string|int $id
+	 * @uses wp_parse_args, sanitize_title, apply_filters, get_terms, is_wp_error, is_tag, is_tax, esc_url, get_term_link, selected
+	 * @return string or false
+	 */
+	function render_dropdown( $options, $id = false ) {
+		$options = wp_parse_args( $options, $this->option_defaults );
+		extract( $options );
+
+		//ID
+		if( is_numeric( $id ) )
+			$id = intval( $id );
+		elseif( is_string( $id ) )
+			$id = sanitize_title( $id );
+
+		//Set up options array for get_terms
+		$options = array(
+			'order' => $order,
+			'orderby' => $orderby,
+			'hide_empty' => $hide_empty,
+			'hierarchical' => false
+		);
+
+		if( $limit )
+			$options[ 'number' ] = $limit;
+
+		if( !empty( $incexc_ids ) )
+			$options[ $incexc ] = $incexc_ids;
+
+		$options = apply_filters( 'taxonomy_dropdown_widget_options', $options, $id );
+		$options = apply_filters( 'TagDropdown_get_tags', $options );
+
+		//Get terms
+		$terms = get_terms( $taxonomy, $options );
+
+		if( !is_wp_error( $terms ) && is_array( $terms ) && !empty( $terms ) ) {
+			//CSS ID
+			if( is_int( $id ) )
+				$css_id = ' id="taxonomy_dropdown_widget_dropdown_' . $id . '"';
+			elseif( is_string( $id ) && !empty( $id ) )
+				$css_id = ' id="' . $id . '"';
+
+			//Start dropdown
+			$output = '<select name="taxonomy_dropdown_widget_dropdown_' . $id . '" class="taxonomy_dropdown_widget_dropdown" onchange="document.location.href=this.options[this.selectedIndex].value;"' . ( isset( $css_id ) ? $css_id : '' ) . '>';
+
+			$output .= '<option value="">' . $select_name . '</option>';
+
+			//Populate dropdown
+			$i = 1;
+			foreach( $terms as $term ) {
+				if( $threshold > 0 && $term->count < $threshold )
+					continue;
+
+				//Set selected attribute if on an archive page for the current term
+				$current = is_tag() ? is_tag( $term->slug ) : is_tax( $taxonomy, $term->slug );
+
+				//Open option tag
+				$output .= '<option value="' . esc_url( get_term_link( (int)$term->term_id, $taxonomy ) ) . '"' . ( selected( $current, true , false ) ) . '>';
+
+				//Tag name
+				$name = esc_attr( $term->name );
+				if( $max_name_length > 0 && strlen( $name ) > $max_name_length )
+					$name = substr( $name, 0, $max_name_length ) . $cutoff;
+				$output .= $name;
+
+				//Count
+				if( $post_counts )
+					$output .= ' (' . intval( $term->count ) . ')';
+
+				//Close option tag
+				$output .= '</option>';
+
+				$i++;
+			}
+
+			//End dropdown
+			$output .= '</select>';
+
+			return $output;
+		}
+		else
+			return false;
+	}
+
+	/*
+	 * Sanitize plugin options
+	 * @param array $options
+	 * @uses taxonomy_exists, sanitize_text_field, absint, wp_parse_args
+	 * @return array
+	 */
+	function sanitize_options( $options ) {
+		$options_sanitized = array(
+			'hide_empty' => true,
+			'post_counts' => false
+		);
+
+		$keys = array_merge( array_keys( $this->option_defaults ), array( 'title' ) );
+
+		if( is_array( $options ) ) {
+			foreach( $keys as $key ) {
+				if( !array_key_exists( $key, $options ) )
+					continue;
+
+				$value = $options[ $key ];
+
+				switch( $key ) {
+					case 'taxonomy':
+						if( taxonomy_exists( $value ) )
+							$options_sanitized[ $key ] = $value;
+					break;
+
+					case 'title':
+					case 'select_name':
+					case 'cutoff':
+						$value = sanitize_text_field( $value );
+
+						if( !empty( $value ) || $key == 'title' )
+							$options_sanitized[ $key ] = $value;
+					break;
+
+					case 'max_name_length':
+					case 'limit':
+					case 'threshold':
+						$options_sanitized[ $key ] = absint( $value );
+					break;
+
+					case 'order':
+						if( $value == 'ASC' || $value == 'DESC' )
+							$options_sanitized[ $key ] = $value;
+					break;
+
+					case 'orderby':
+						if( $value == 'name' || $value == 'count' )
+							$options_sanitized[ $key ] = $value;
+					break;
+
+					case 'incexc':
+						if( $value == 'include' || $value == 'exclude' )
+							$options_sanitized[ $key ] = $value;
+					break;
+
+					case 'incexc_ids':
+						$options_sanitized[ $key ] = array();
+
+						if( is_string( $value ) )
+							$value = explode( ',', $value );
+
+						if( is_array( $value ) ) {
+							foreach( $value as $term_id ) {
+								$term_id = intval( $term_id );
+
+								if( $term_id > 0 )
+									$options_sanitized[ $key ][] = $term_id;
+
+								unset( $term_id );
+							}
+
+							sort( $options_sanitized[ $key ], SORT_NUMERIC );
+						}
+					break;
+
+					case 'hide_empty':
+					case 'post_counts':
+						$options_sanitized[ $key ] = (bool)$value;
+					break;
+
+					default:
+						continue;
+					break;
+				}
+			}
+		}
+
+		//Ensure array contains all keys by parsing against defaults after options are sanitized
+		$options_sanitized = wp_parse_args( $options_sanitized, $this->option_defaults );
+
+		return $options_sanitized;
+	}
+
+	/*
+	 * PHP 4 compatibility
+	 */
+	function taxonomy_dropdown_widget_plugin() {
+		$this->__construct();
+	}
+}
+global $taxonomy_dropdown_widget_plugin;
+if( !is_a( $taxonomy_dropdown_widget_plugin, 'taxonomy_dropdown_widget_plugin' ) )
+	$taxonomy_dropdown_widget_plugin = new taxonomy_dropdown_widget_plugin;
+
+/**
+ ** TAXONOMY DROPDOWN WIDGET
+ **/
+class taxonomy_dropdown_widget extends WP_Widget {
+	/*
+	 * Class variables
+	 */
+	var $defaults = array(
+		'title' => 'Tags'
+	);
+
+	/*
+	 * Register widget and populate class variables
+	 * @uses $this::WP_Widget, $taxonomy_dropdown_widget_plugin
+	 * @return null
+	 */
+	function taxonomy_dropdown_widget() {
+		$this->WP_Widget( false, 'Taxonomy Dropdown Widget', array( 'description' => 'Displays selected non-hierarchical taxonomy terms in a dropdown list.' ) );
+
+		//Load plugin class and populate defaults
+		global $taxonomy_dropdown_widget_plugin;
+		if( !is_a( $taxonomy_dropdown_widget_plugin, 'taxonomy_dropdown_widget_plugin' ) )
+			$taxonomy_dropdown_widget_plugin = new taxonomy_dropdown_widget_plugin;
+
+		if( is_object( $taxonomy_dropdown_widget_plugin ) && property_exists( $taxonomy_dropdown_widget_plugin, 'option_defaults' ) && is_array( $taxonomy_dropdown_widget_plugin->option_defaults ) )
+			$this->defaults = array_merge( $taxonomy_dropdown_widget_plugin->option_defaults, $this->defaults );
+	}
+
+	/*
+	 * Render widget
+	 * @param array $args
+	 * @param array $instance
+	 * @uses $taxonomy_dropdown_widget_plugin, wp_parse_args, apply_filters
+	 * @return string or null
+	 */
+	function widget( $args, $instance ) {
+		//Get plugin class for default options and to build widget
+		global $taxonomy_dropdown_widget_plugin;
+		if( !is_a( $taxonomy_dropdown_widget_plugin, 'taxonomy_dropdown_widget_plugin' ) )
+			$taxonomy_dropdown_widget_plugin = new taxonomy_dropdown_widget_plugin;
+
+		//Options
+		$instance = wp_parse_args( $instance, $this->defaults );
+		extract( $args );
+		extract( $instance );
+
+		//Widget
+		if( $widget = $taxonomy_dropdown_widget_plugin->render_dropdown( $instance, $this->number ) ) {
+			//Wrapper and title
+			$output = $before_widget;
+
+			if( !empty( $title ) )
+				$output .= $before_title . apply_filters( 'taxonomy_dropdown_widget_title', '<label for="taxonomy_dropdown_widget_dropdown_' . $this->number . '">' . $title . '</label>', $this->number ) . $after_title;
+
+			//Widget
+			$output .= $widget;
+
+			//Wrapper
+			$output .= $after_widget;
+
+			echo $output;
+		}
+	}
+
+	/*
+	 * Options sanitization
+	 * @param array $new_instance
+	 * @param array $old_instance
+	 * @uses $taxonomy_dropdown_widget_plugin
+	 * @return array
+	 */
+	function update( $new_instance, $old_instance ) {
+		//Get plugin class for sanitization function
+		global $taxonomy_dropdown_widget_plugin;
+		if( !is_a( $taxonomy_dropdown_widget_plugin, 'taxonomy_dropdown_widget_plugin' ) )
+			$taxonomy_dropdown_widget_plugin = new taxonomy_dropdown_widget_plugin;
+
+		return $taxonomy_dropdown_widget_plugin->sanitize_options( $new_instance );
+	}
+
+	/*
+	 * Widget options
+	 * @param array $instance
+	 * @uses wp_parse_args, get_taxonomies, _e, $this::get_field_id, $this::get_field_name, esc_attr, selected, checked
+	 * @return string
+	 */
+	function form( $instance ) {
+		//Get options
+		$options = wp_parse_args( $instance, $this->defaults );
+		extract( $options );
+
+		//Get taxonomies and remove certain Core taxonomies that shouldn't be accessed directly.
+		$taxonomies = get_taxonomies( array(
+			'public' => true,
+			'hierarchical' => false
+		), 'objects' );
+
+		if( array_key_exists( 'nav_menu', $taxonomies ) )
+			unset( $taxonomies[ 'nav_menu' ] );
+
+		if( array_key_exists( 'post_format', $taxonomies ) )
+			unset( $taxonomies[ 'post_format' ] );
+
+	?>
+		<h3><?php _e( 'Basic Settings' ); ?></h3>
+
+		<p>
+			<label for="<?php echo $this->get_field_id( 'taxonomy' ); ?>"><?php _e( 'Taxonomy' ); ?>:</label><br />
+			<select name="<?php echo $this->get_field_name( 'taxonomy' ); ?>" id="<?php echo $this->get_field_id( 'taxonomy' ); ?>">
+				<?php foreach( $taxonomies as $tax ): ?>
+					<option value="<?php echo esc_attr( $tax->name ); ?>"<?php selected( $tax->name, $taxonomy, true ); ?>><?php echo $tax->labels->name; ?></option>
+				<?php endforeach; ?>
+			</select>
+		</p>
+
+		<p>
+			<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label><br />
+			<input type="text" name="<?php echo $this->get_field_name( 'title' ); ?>" class="widefat code" id="<?php echo $this->get_field_id( 'title' ); ?>" value="<?php echo esc_attr( $title ); ?>" />
+		</p>
+
+		<p>
+			<label for="<?php echo $this->get_field_id( 'select_name' ); ?>"><?php _e( 'Default dropdown item:' ); ?></label><br />
+			<input type="text" name="<?php echo $this->get_field_name( 'select_name' ); ?>" class="widefat code" id="<?php echo $this->get_field_id( 'select_name' ); ?>" value="<?php echo esc_attr( $select_name ); ?>" />
+		</p>
+
+		<h3><?php _e( 'Order' ); ?></h3>
+
+		<p>
+			<label><?php _e( 'Order terms by:' ); ?></label><br />
+
+			<input type="radio" name="<?php echo $this->get_field_name( 'orderby' ); ?>" value="name" id="<?php echo $this->get_field_name( 'order_name' ); ?>"<?php checked( $orderby, 'name', true ); ?> />
+			<label for="<?php echo $this->get_field_name( 'order_name' ); ?>"><?php _e( 'Name' ); ?></label><br />
+
+			<input type="radio" name="<?php echo $this->get_field_name( 'orderby' ); ?>" value="count" id="<?php echo $this->get_field_name( 'order_count' ); ?>"<?php checked( $orderby, 'count', true ); ?> />
+			<label for="<?php echo $this->get_field_name( 'order_count' ); ?>"><?php _e( 'Post count' ); ?></label>
+		</p>
+
+		<p>
+			<label><?php _e( 'Order terms:' ); ?></label><br />
+
+			<input type="radio" name="<?php echo $this->get_field_name( 'order' ); ?>" value="ASC" id="<?php echo $this->get_field_name( 'order_asc' ); ?>"<?php checked( $order, 'ASC', true ); ?> />
+			<label for="<?php echo $this->get_field_name( 'order_asc' ); ?>"><?php _e( 'Ascending' ); ?></label><br />
+
+			<input type="radio" name="<?php echo $this->get_field_name( 'order' ); ?>" value="DESC" id="<?php echo $this->get_field_name( 'order_desc' ); ?>"<?php checked( $order, 'DESC', true ); ?> />
+			<label for="<?php echo $this->get_field_name( 'order_desc' ); ?>"><?php _e( 'Descending' ); ?></label>
+		</p>
+
+		<h3><?php _e( 'Term Display' ); ?></h3>
+
+		<p>
+			<label for="<?php echo $this->get_field_id( 'limit' ); ?>"><?php _e( 'Limit number of terms shown to:' ); ?></label><br />
+			<input type="text" name="<?php echo $this->get_field_name( 'limit' ); ?>" id="<?php echo $this->get_field_id( 'limit' ); ?>" value="<?php echo intval( $limit ); ?>" size="3" /><br />
+			<span class="description"><?php _e( '<small>Enter <strong>0</strong> for no limit.' ); ?></small></span>
+		</p>
+
+		<p>
+			<label for="<?php echo $this->get_field_id( 'max_name_length' ); ?>"><?php _e( 'Trim long term names to <em>x</em> characters:</label>' ); ?><br />
+			<input type="text" name="<?php echo $this->get_field_name( 'max_name_length' ); ?>" id="<?php echo $this->get_field_id( 'max_name_length' ); ?>" value="<?php echo intval( $max_name_length ); ?>" size="3" /><br />
+			<span class="description"><?php _e( '<small>Enter <strong>0</strong> to show full tag names.' ); ?></small></span>
+		</p>
+
+		<p>
+			<label for="<?php echo $this->get_field_id( 'cutoff' ); ?>"><?php _e( 'Indicator that term names are trimmed:' ); ?></label><br />
+			<input type="text" name="<?php echo $this->get_field_name( 'cutoff' ); ?>" id="<?php echo $this->get_field_id( 'cutoff' ); ?>" value="<?php echo esc_attr( $cutoff ); ?>" size="3" /><br />
+			<span class="description"><?php _e( '<small>Leave blank to use an elipsis (&hellip;).</small>' ); ?></span>
+		</p>
+
+		<p>
+			<input type="checkbox" name="<?php echo $this->get_field_name( 'hide_empty' ); ?>" id="<?php echo $this->get_field_id( 'hide_empty' ); ?>"  value="0"<?php checked( false, $hide_empty, true ); ?> />
+			<label for="<?php echo $this->get_field_id( 'hide_empty' ); ?>"><?php _e( 'Include terms that aren\'t assigned to any objects (empty terms).' ); ?></label>
+		</p>
+
+		<p>
+			<input type="checkbox" name="<?php echo $this->get_field_name( 'post_counts' ); ?>" id="<?php echo $this->get_field_id( 'post_counts' ); ?>"  value="1"<?php checked( true, $post_counts, true ); ?> />
+			<label for="<?php echo $this->get_field_id( 'post_counts' ); ?>"><?php _e( 'Display object (post) counts after term names.' ); ?></label>
+		</p>
+
+		<h3><?php _e( 'Include/Exclude Terms' ); ?></h3>
+
+		<p>
+			<label><?php _e( 'Include/exclude terms:' ); ?></label><br />
+
+			<input type="radio" name="<?php echo $this->get_field_name( 'incexc' ); ?>" value="include" id="<?php echo $this->get_field_id( 'include' ); ?>"<?php checked( $incexc, 'include', true ); ?> />
+			<label for="<?php echo $this->get_field_id( 'include' ); ?>"><?php _e( 'Include only the term IDs listed below' ); ?></label><br />
+
+			<input type="radio" name="<?php echo $this->get_field_name( 'incexc' ); ?>" value="exclude" id="<?php echo $this->get_field_id( 'exclude' ); ?>"<?php checked( $incexc, 'exclude', true ); ?> />
+			<label for="<?php echo $this->get_field_id( 'exclude' ); ?>"><?php _e( 'Exclude the term IDs listed below' ); ?></label>
+		</p>
+
+		<p>
+			<label for="<?php echo $this->get_field_id( 'incexc_ids' ); ?>"><?php _e( 'Term IDs to include/exclude based on above setting:' ); ?></label><br />
+			<input type="text" name="<?php echo $this->get_field_name( 'incexc_ids' ); ?>" class="widefat code" id="<?php echo $this->get_field_id( 'incexc_ids' ); ?>" value="<?php echo esc_attr( implode( ', ', $incexc_ids ) ); ?>" /><br />
+			<span class="description"><?php _e( '<small>Enter comma-separated list of term IDs.</small>' ); ?></span>
+		</p>
+
+		<h3><?php _e( 'Advanced' ); ?></h3>
+
+		<p>
+			<label for="<?php echo $this->get_field_id( 'threshold' ); ?>"><?php _e( 'Show terms assigned to at least this many posts:' ); ?></label><br />
+			<input type="text" name="<?php echo $this->get_field_name( 'threshold' ); ?>" id="<?php echo $this->get_field_id( 'threshold' ); ?>" value="<?php echo intval( $threshold ); ?>" size="3" /><br />
+			<span class="description"><?php _e( '<small>Set to <strong>0</strong> to display all terms matching the above criteria.</small>' ); ?></span>
+		</p>
+
+	<?php
+	}
+}
+
+/**
+ ** HELPER FUNCTIONS
+ **/
+
+/*
+ * Render taxonomy dropdown
+ * @param array $options
+ * @param string|int $id
+ * @uses $taxonomy_dropdown_widget_plugin
+ * @return string or false
+ */
+function taxonomy_dropdown_widget( $options = array(), $id = '' ) {
+	global $taxonomy_dropdown_widget_plugin;
+	if( !is_a( $taxonomy_dropdown_widget_plugin, 'taxonomy_dropdown_widget_plugin' ) )
+		$taxonomy_dropdown_widget_plugin = new taxonomy_dropdown_widget_plugin;
+
+	//Sanitize options
+	$options = $taxonomy_dropdown_widget_plugin->sanitize_options( $options );
+
+	return $taxonomy_dropdown_widget_plugin->render_dropdown( $options, $id );
+}
+
+/**
+ ** LEGACY FUNCTIONS FOR BACKWARDS COMPATIBILITY
+ **/
+
+if( !function_exists( 'generateTagDropdown' ) ):
+	/*
+	 * Build tag dropdown based on provided arguments
+	 * @since 1.7
+	 * @uses $taxonomy_dropdown_widget_plugin
+	 * @return string or false
+	 */
+	function generateTagDropdown( $args ) {
+		global $taxonomy_dropdown_widget_plugin;
+		if( !is_a( $taxonomy_dropdown_widget_plugin, 'taxonomy_dropdown_widget_plugin' ) )
+			$taxonomy_dropdown_widget_plugin = new taxonomy_dropdown_widget_plugin;
+
+		//Sanitize options
+		$options = $taxonomy_dropdown_widget_plugin->sanitize_options( $args );
+
+		return '<!-- NOTICE: The function used to generate this dropdown list is deprecated as of version 2.0 of Taxonomy Dropdown Widget. You should update your template to use `taxonomy_dropdown_widget` instead. -->' . $taxonomy_dropdown_widget_plugin->render_dropdown( $options, 'legacy_gtd' );
+	}
+endif;
+
+if( !function_exists( 'TDW_direct' ) ):
+	/*
+	 * Build tag dropdown based on provided arguments
+	 * @since 1.6
+	 * @uses $taxonomy_dropdown_widget_plugin
+	 * @return string or false
+	 */
+	function TDW_direct( $limit = false, $count = false, $exclude = false ) {
+		global $taxonomy_dropdown_widget_plugin;
+		if( !is_a( $taxonomy_dropdown_widget_plugin, 'taxonomy_dropdown_widget_plugin' ) )
+			$taxonomy_dropdown_widget_plugin = new taxonomy_dropdown_widget_plugin;
+
+		//Build options array from function parameters
+		$options = array(
+			'max_name_length' => $limit,
+			'post_count' => $count
+		);
+
+		if( $exclude ) {
+			$options[ 'incexc' ] = 'exclude';
+			$options[ 'incexc_ids' ] = $exclude;
+		}
+
+		//Sanitize options
+		$options = $taxonomy_dropdown_widget_plugin->sanitize_options( $options );
+
+		echo '<!-- NOTICE: The function used to generate this dropdown list is deprecated as of version 1.7 of Taxonomy Dropdown Widget. You should update your template to use `taxonomy_dropdown_widget` instead. -->' . $taxonomy_dropdown_widget_plugin->render_dropdown( $options, 'legacy_tdw' );
+	}
+endif;
+
+if( !function_exists( 'makeTagDropdown' ) ):
+	/*
+	 * Build tag dropdown based on provided arguments
+	 * @since 1.3
+	 * @uses $taxonomy_dropdown_widget_plugin
+	 * @return string or false
+	 */
+	function makeTagDropdown( $limit = false ) {
+		global $taxonomy_dropdown_widget_plugin;
+		if( !is_a( $taxonomy_dropdown_widget_plugin, 'taxonomy_dropdown_widget_plugin' ) )
+			$taxonomy_dropdown_widget_plugin = new taxonomy_dropdown_widget_plugin;
+
+		//Sanitize options
+		$options = array(
+			'max_name_length' => intval( $limit )
+		);
+
+		echo '<!-- NOTICE: The function used to generate this dropdown list is deprecated as of version 1.6 of Taxonomy Dropdown Widget. You should update your template to use `taxonomy_dropdown_widget` instead. -->' . $taxonomy_dropdown_widget_plugin->render_dropdown( $options, 'legacy_mtd' );
+}
+endif;
+?>
\ No newline at end of file