Taxonomy Order

Plugin Description

Set display order of any taxonomy attached to any public post type.

Description

Set display order of any taxonomy (categories, tags, or a custom taxonomy) attached to any public post type, with a per post type/taxonomy default order available as a fallback.

Installation

  • Download the latest release of the plugin from GitHub.
  • Upload the entire zip file using the Plugins upload function in your ClassicPress admin panel.
  • Activate the plugin.
  • Configure relevant settings via the settings page in the admin control panel (azurecurve menu).

Frequently Asked Questions

Can I translate this plugin?

Yes, the .pot file is in the plugins languages folder; if you do translate this plugin, please sent the .po and .mo files to [email protected] for inclusion in the next version (full credit will be given).

Is this plugin compatible with both WordPress and ClassicPress?

This plugin is developed for ClassicPress, but will likely work on WordPress.

Changelog

  • Rewrite plugin on azurecurve’s current plugin architecture (namespaced, modular includes, admin-post based settings, tabbed admin UI).
  • Extend from posts only to any public post type with a registered public taxonomy – each post type/taxonomy pair is enabled individually on the Settings tab.
  • Add a Default Order tab: set a default term order per enabled post type/taxonomy pair, used to seed new posts and as the site-wide fallback order until a post is individually reordered.
  • Replace the numeric order-input fields with a drag-and-drop reorderable list (vanilla JS, no jQuery/jQuery UI), with keyboard-operable up/down buttons as an accessible fallback.
  • Add an uninstall option to also reset term order data for pairs that were enabled (off by default).
  • Fix: saving settings on a fresh install could produce a PHP warning.
  • Fix: HTML markup was being escaped as plain text on the settings page instead of being rendered.
  • Fix: duplicate HTML element IDs in the order metabox.
  • Fix: the term-order cache was never invalidated after saving a new order, so a freshly-reordered post could keep showing a stale order.
  • Fix: an undefined array key was read on every single post save site-wide, regardless of post type, producing a PHP notice.
  • Fix: term names were not escaped when output in the order metabox.
  • Fix: replaced a call to the deprecated wp_get_object_terms() function.
  • Fix: duplicate nonce field names when more than one order metabox was present on the same screen.
  • Update readme.md and remove readme.txt (not required for ClassicPress).
  • Update azurecurve menu.
  • Update plugin header for compatibility with ClasssicPress v2.
  • Update plugin header and readme for compatibility with ClassicPress Directory v2.
  • Update Update Manager to version 2.5.0.
  • Update readme file for compatibility with ClassicPress Directory.
  • Update readme files.
  • Update language template.
  • Fix bug with azurecurve menu.
  • Update azurecurve menu.
  • Update readme files.
  • Add uninstall.
  • Update translations to escape strings.
  • Update azurecurve menu and logo.
  • Update azurecurve plugin menu.
  • Fix plugin action link to use admin_url() function.
  • Amend name of meta boxes.
  • Retain user-defined sort order on reload.
  • Rewrite option handling so defaults not stored in database on plugin initialisation.
  • Fix incorrect Download link.
  • Fix incorrect variable name ($post_ID).
  • Fix short PHP tag.
  • Initial release.

Other Notes

About azurecurve

azurecurve was one of the first plugin developers to start developing for Classicpress; all plugins are available from azurecurve Development and are integrated with the Update Manager plugin for fully integrated, no hassle, updates.

The other plugins available from azurecurve are: