Skip to content

A WordPress plugin for add metadata API for term/taxonomy

Notifications You must be signed in to change notification settings

renishkhunt/meta-for-taxonomies

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Meta for taxonomies

Contributors: momo360modena

Donate link: http://www.beapi.fr/donate/

Tags: tags, taxonomies, custom taxonomies, termmeta, meta, term meta, taxonomy, meta taxonomy

Requires at least: 3.0

Tested up to: 4.0

Stable tag: 1.2.1

No UI ! This plugin implements the WP Meta API for terms. Metadatas is attached to taxonomy context and not terms, this way allow to have metas different for the same term on 2 different taxonomies !

Description

Add meta for any taxonomies. Meta is attached to taxonomy context and not terms, this way allow to have metas different for the same term on 2 different taxonomies.

It's the better implementation for this feature.

This plugin don't any interface on WordPress ! Only somes methods for developpers.

This plugin propose many functions for terms :

  • add_term_meta( $taxonomy = '', $term_id = 0, $meta_key = '', $meta_value = '', $unique = false )
  • delete_term_meta( $taxonomy = '', $term_id = 0, $meta_key = '', $meta_value = '')
  • get_term_meta( $taxonomy = '', $term_id = 0, $meta_key = '', $single = false )
  • update_term_meta( $taxonomy = '', $term_id = 0, $meta_key, $meta_value, $prev_value = '' )

And many others functions term taxonomy context :

  • add_term_taxonomy_meta( $term_taxonomy_id = 0, $meta_key = '', $meta_value = '', $unique = false )
  • delete_term_taxonomy_meta( $term_taxonomy_id = 0, $meta_key = '', $meta_value = '')
  • get_term_taxonomy_meta( $term_taxonomy_id = 0, $meta_key = '', $single = false )
  • update_term_taxonomy_meta( $term_taxonomy_id = 0, $meta_key, $meta_value, $prev_value = '' )

And many others...

For full info go the Meta for taxonomies Github page.

Installation

  1. Download, unzip and upload to your WordPress plugins directory
  2. Activate the plugin within you WordPress Administration Backend
  3. Develop your plugin for used it !

Changelog

  • 1.2.1
    • Compat with WP 4.0.x
    • Just improve description...
  • 1.2
    • Broken MAJ - No upgrade script available
    • Change table name for allow multisite switching...
  • 1.1.5
    • Fix bug with hook delation, use right name field "term_taxo_id"
  • 1.1.4
    • Add tables in var class WPDB for multisite compatibility (thanks njuen)
  • 1.1.3
    • Improve format readme.txt
    • Check compatibility WP 3.2
  • 1.1.2
    • Fix a bug with the meta key... (bis)
  • 1.1.1
    • Remove a conflict function with Simple Taxonomy
  • 1.1
    • Fix a bug with the meta key...
  • 1.0.0
    • Initial version

Frequently Asked Questions

Screenshots

== Upgrade Notice ==

About

A WordPress plugin for add metadata API for term/taxonomy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%