Gigaom Taxonomy

0

Registers taxonomies programtically from a config array and provides other helper functions. We needed a way to add taxonomies that we rely on accross sites and managing those was becom

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tag
This plugin is outdated and might not be supported anymore.

Description

Registers taxonomies programtically from a config array and provides other helper functions.

We needed a way to add taxonomies that we rely on accross sites and managing those was becomeing cumbersome. This allows us to manage them via a config array.

The plugin also provides workarounds for limitations in WordPress handling of terms in feeds and post term sorting.

Sorted Terms

There’s also a sorted_terms helper function you can use in plugins and templates like this:

go_taxonomy()->sorted_terms( $post_id, $args ); 

Parameters

$post_id

(int) (optional) The ID of the post you want to get sorted terms for

Argument Options

taxonomies

(array)

  • array( ‘post_tag’ ) – Default

number

(int)

  • 99 – Default

format

(string)

  • list – Default
  • array
  • name

orderby

(string)

  • name – Default
  • count : terms ordered by their usage count

order

(string)

  • ASC – Default
  • DESC

Report Issues, Contribute Code, or Fix Stuff

https://github.com/GigaOM/go-taxonomy/