Registers taxonomies programtically from a config array and provides other helper functions.
Author: | Gigaom (profile at wordpress.org) |
WordPress version required: | 3.6.1 |
WordPress version tested: | 4.0.38 |
Plugin version: | 1.0 |
Added to WordPress repository: | 11-11-2014 |
Last updated: | 11-11-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://gigaom.com/ |
Total downloads: | 678 |
Click to start download |
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/