-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathreadme.txt
89 lines (60 loc) · 3.61 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
NOTE: You can find an updated version of this plugin, maintained by Pavel Riha and compatible with WordPress 3.5+, at the following location:
* http://www.papik-wordpress.eu/wp-content/uploads/2015/06/wp-category-meta-1.3.0.zip
=== Category Meta plugin ===
Contributors: Randy Hoyt, steveclarkcouk, Vitaliy Kukin, Eric Le Bail, Tom Ransom
Donate link: #
Tags: category,meta,category meta,admin,plugin,image,icon,images,icons,category icon,category image,taxonomy metadata,taxonomy meta,custom taxonomy meta
Requires at least: 2.8
Tested up to: 3.4.2
Stable tag: 1.2.7
Add the ability to attach meta data to the wordpress categories and terms.
It can be used to add meta to custom taxonomies (terms).
== Description ==
This plugins add meta data to the wordpress categories and terms.
It Creates a wp-termsmeta table to store the entered meta.
It adds input fields to the category and other term administration interface to enter the meta values.
It provides functions to retrive / create / update / delete the category and terms meta.
It can be used to add meta to custom taxonomies (terms).
This plugin has been tested with WP2.8.6 and WPmu2.8.6 and WP3.3.1
== Update Log ==
1.2.7 : Small fix to make the image fields work in WordPress 3.4.
1.2.6 : Fix bug introduced in 1.2.5, allowing images to be inserted into posts again.
1.2.5 : Small fix to make the image fields work in WordPress 3.3.1.
1.2.4 : Small fix to make the meta list appear in the taxonomy edit page with WP3.0.1. && WP3.0.4 (thanks to webgrafia).
1.2.3 : Add a new meta type "check-box" with meta_value of "checked" when the box is checked (thanks to Joseph).
1.2.2 : Small fix to make the meta list appear in the taxonomy edit page with WP3.0.1. && WP3.0.4 (thanks to Patrick).
1.2.1 : Small fix to avoid problem wih global variables in the taxonomy list with WP3.0.1. (thanks to Jeff).
1.2.0 : Major release. Add the terms meta administration form on all terms (category / Tags / custom taxonomies) for WP version 3.0 and above.
1.1.1 : Fix a typo error when no meta has been configured.
1.1.0 : Major release. Test and debug to be fully compatible with version 3.0.x . Add the new "image" type for meta.
1.0.3 : Fix an error on the meta update method thanks to Tom Ransom for sending the fix.
1.0.2 : Debug when no meta is set.
1.0.1 : Add the possibility to replace special chars into meta name in the meta creation form in the option page.
1.0.0 : Add the option page to easily configure the meta list
0.0.1 : plugin initial creation.
== Installation ==
1. Unzip into your `/wp-content/plugins/` directory. If you're uploading it make sure to upload
the top-level folder. Don't just upload all the php files and put them in `/wp-content/plugins/`.
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to your Administration interface in the "Settings" menu a new "Category Meta" page is created.
Configure the meta you want to use.
4. go to your Administration interface, in the "Category" menu -> new fields are displayed in the category creation/modification form with the meta you configured.
5. That's it!
6. you can use the folowing functions into your templates to retreive 1 meta:
`
if (function_exists('get_terms_meta'))
{
$metaValue = get_terms_meta($category_id, $meta_key);
}
`
7. you can use the folowing functions into your templates to retreive all meta:
`
if (function_exists('get_all_terms_meta'))
{
$metaList = get_all_terms_meta($category_id);
}
`
== Frequently Asked Questions ==
This plugin is in stable phase.
== Screenshots ==
No screenshot at the moment.