Term Menu Order

July 04, 2012

Term Menu Order Plugin

Creates a 'menu_order' column to specify term order, allowing theme and plugin developers to sort term by menu order.

This plugin is intended as an aid to theme and plugin developers.

The purpose of the plugin is to allow arbitrary sorting of terms, similar to pages. This allows queries that
fetch terms to use ‘menu_order’ as a sort order. Here’s an example:

$terms = get_terms('category', array( 'orderby' => 'menu_order' ) ); 

Documentation | Support Forum

Internationalization (i18n)

This plugin has been translated into the languages listed below:

  • es_ES – Spanish. Thank you to Ivan Vasquez for contributing!
  • fr_FR – French. Thank you to Frederick Marcoux for contributing!

If you’re interested in doing a translation into your language, please let me know.

Installation

  1. Upload the term-menu-order to /wp-content/plugins/.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. You will now be able to set an ‘Order’ field for categories, tags and custom taxonomy terms.

Screenshots

  1. 'menu_order' available in Quick Edit.

    'menu_order' available in Quick Edit.

  2. 'menu_order' available when adding a new term.

    'menu_order' available when adding a new term.

  3. 'menu_order' available when editing a term.

    'menu_order' available when editing a term.

Changelog

0.4.0

  • Only delete data when plugin is deleted, not on deactivation
  • Other minor bug fixes based on messages in support forum

0.3.1

  • Re-added French language support.
  • Added Spanish language support. Thank you to Ivan Vasquez for this contribution!

0.3

  • Updated plugin to make menu_order work (broke in WordPress 3.2).
  • Removed script that was breaking quick edit
  • Added ‘term_menu_order_taxonomies’ filter to let you specify which taxonomies it applies to.

0.2

  • Added French language support. Thank you to Frederick Marcoux for this contribution!

0.1.3

  • Updated autoloader to include try… catch block for handling autoload exceptions.

0.1.2

  • Attached plugin init to ‘init’ action hook instead of ‘after_theme_setup’ to catch custom taxonomies added by theme.

0.1

  • First release.

Details

  • Version: 0.4
  • Active installations: 600
  • WordPress Version: 3.0.1
  • Tested up to: 3.4.2

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars