Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Creates a widget for listing terms of taxonomies in WordPress.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 languages
Octocat-spinner-32 readme.md
Octocat-spinner-32 readme.txt
Octocat-spinner-32 screenshot-1.png
Octocat-spinner-32 taxonomy-widget.php
readme.md

Taxonomy Widget

By Michael Fields

Tested up to WordPress version 3.2.1

About

The Taxonomy Widget Plugin enables users to create widgets in their sidebar that display all terms of any given taxonomy. Users can choose between 3 different templates including two types of lists, a term cloud or a dropdown menu.

Options

  • Title - You can enter a custom title for your widget in this text input. If you leave this field blank, The name of the taxonomy will be used. If you do not want a title displayed at all, you can toggle this by un-checking the Display title box under Advanced Options.

  • Taxonomy - You can select the taxonomy whose terms you would like displayed by selecting it from the dropdown menu.

  • Template - Select a template for your terms by selecting one of the radio buttons in the Display Taxonomy As section.

  • Display title - If checked the title will be displayed. Un-checking this option will hide the title. Defaults to checked.

  • Show post counts - If checked, the number of posts associated with each term will be displayed to the right of the term name in the template. This option has no effect in the cloud template.

  • Show hierarchy - If checked, the terms will be indented from the left if they are children of other terms. This option has no effect in the cloud template.

Changelog

0.6.1

  • Set value of the "taxonomies" property a bit later in the action sequence.

0.6

  • Cleanup.
  • Provide alternative default if categories are disabled.
  • Do not register widget if no taxonomies are registered.

0.5.1

  • stupid comma ...
  • another stupid comma !!!

0.5

  • Better escaping throughout.
  • Use get_term_link() for javascript redircts.

0.4

  • Never officially released.
  • Dropped support for 2.9 branch.
  • Removed mfields_walk_taxonomy_dropdown_tree().
  • Removed mfields_dropdown_taxonomy_terms().
  • Removed global variables.
  • Moved javascript listeners into mfields_taxonomy_widget class.
  • Create mfields_taxonomy_widget::clean_args() to sanitize user input.
  • Removed mfields_taxonomy_widget::sanitize_template().
  • Removed mfields_taxonomy_widget::sanitize_taxonomy().
  • Tag clouds will now only display if their setting allow.
  • Tested with post formats.
  • Removed mfields_taxonomy_widget::get_query_var_name() using $taxonomy->query_var instead.

0.3

  • Added filters for show_option_none text in dropdown.

0.2.2

  • Don't remember. Sorry...

0.2.1

  • BUGFIX: Dropdown now displays 'Please Choose' on non-taxonomy views.

0.2

  • Now compatible with WordPress Version 2.9.2.

0.1

  • Original Release - Works With: wp 3.0 Beta 2.
Something went wrong with that request. Please try again.