This version adds two query options:
OR query
?fruit=apple,orange,pair
will match all posts that have the fruit field set to apple OR orange OR pair.
AND query
?color=red+orange+yellow
will match posts that have 3 color fields: one with red, one with orange and one wih yellow.
These capabilities are disabled by default. Before you enable them from Posts -> CF Taxnomies, a word of caution:
If some of your field values have commas ‘,’ character in them, don’t enable the OR query.
Also, if some of the field values have spaces ‘ ‘ in them, don’t enable the AND query.
Currently, you can’t enable both the AND query and the “Show posts that don’t match all key=value pairs” option. This will probably be fixed in the future.

Hi, first of all thans for this plugin!!
I’m a student newly with wordpress and php, trying to build a site for an exam.
I installed your Developement version (1.3a) with Wordpress2.8. Used it to generate a tag cloud of custom field (registered as taxonomies) values in my home page. Click on a word gets a new page (I copied the meta.php in my template folder) where are listed all the posts with that word in the custom field. All work fine!!!
I have two questions:
1) How can I hide specific values from the custom field cloud ?
(tried but nothing)
2) It’s possible to set the new page title so it corresponds to the clicked word?
( get_meta_title() in my meta.php doesen’t work)
I’m doing something wrong, hope you can help.
Sorry for my english and the time spent reading.
I’m glad you like it. Before you do anything, upgrade to the latest version: 1.3.1.
Now:
1) I will write a post explaining how to do that.
2) Maybe you forgot the echo:
If that doesn’t solve it, send me your meta.php at scribu@gmail.com so I can take a look at it.
Thanks a lot!!!!!!!!! You were right, I forgot the echo… now it’s fine!
I’ve installed the developement version because with the 1.3.1 an error was given (something like “Warning: array_merge() ..”).
I don’t want to loose the data stored in my DB and custom fields (I’ve few days to complete my work and friends are helping me with data entry), it will happen if I upgrade to 1.3.1 version?
I’ll wait for your post about how to exclude a value from the cloud.
Again thanks, thanks, thanks!!!!!!!!!
You’re welcome
That error was with version 1.2.
You won’t loose any data if you upgrade to 1.3.1.
About upgrading, you might want to wait for version 1.3.2, since I decided that I’ll add a parameter to make it easier to exclude terms from the meta cloud.
Thanks for the fast reply you’re a helpful person.
I’ve updated to 1.3.1 version and it’s all ok. Tried again to exclude a custom field value writing
or to change the order
, but nothing moves on my page.
I got confused…. it’s correct to use the wp_tag_cloud arguments??? (read in your template-tags.php “$cloudArgs: see wp_tag_cloud() for available args (optional)”).
I apologize for asking again but I have in my cloud the word ALL and it’s so fastidious.
Oh sorry my code in the previous reply was this
The correct code would be:
Yes, it’s correct to use the wp_tag_cloud() arguments, because meta_cloud() uses that function internally.
The exclude argument doesn’t work yet, but it will in version 1.3.2. I’ll check the orderby argument too.
Thanks a lot! I’ll search another way to solve while waiting for the new version.
great plugin! Is it right, that it is only working for POSTS, but not for PAGES??
I´m urgently looking for something similar fot PAGES. I´m using the “custom field template”-plugin to create the costum keys/values in PAGES.
Thanks for help!
I’m afraid it won’t be easy to make it work with pages because they are treated differently by WordPress. But why are you using pages?
As was mentioned before by someone back in March, this plugin breaks the normal search. I noticed my search wasn’t working, but didn’t know when exactly it stopped working. So I installed a brand new WordPress (2.8), in a different subdomain, using a brand new database. Everything worked. Then I added the plugins I am using on my regular blog, and search didn’t work. Deactivated all, enabling them one by one, each time testing the search. When I enabled your plugin, search stopped working. To make sure it was due to your plugin, I deactivated all plugins but yours. Search still didn’t work. I am using permalinks, with a structure of /archives/%year%/%monthnum%/%day%/%hour%.%minute%.%second%, a category base of archives/categories and a tag base of archives/tags. I’ll test whether the problem remains, when using no pretty permalinks.
What exactly do you mean by “not working”? No posts displayed?
I get the (customised) 404 page for each and every search term. I’ve also noticed that previewing posts doesn’t work either with your plugin. There as well, I get the 404 page.
I can’t reproduce your problem.
Are you using WP 2.8 or WP 2.8.2?
Have you tried with the default theme?
Did you make ’s’ a meta taxonomy by mistake?
This happened even before making a meta taxonomy, so no, I didn’t make ’s’ a meta taxonomy. It doesn’t work with the default theme, have a look: http://test.morgaine-lefaye.net/?s=first
There is only one entry, the standard ‘first post entry’.
Add this line to wp-config.php:
define(‘CFT_DEBUG’, true);
I did. Hope it tells you something. Meanwhile, I might try http://yoast.com/wordpress/simple-taxonomies/ some day, seems to be doing more or less the same, no?
Yes, it tells me that it’s treating ’s’ as a meta taxonomy, instead of a search. The strange thing is that I can change ’s’ to any string, and it does the same thing:
http://test.morgaine-lefaye.net/?foo=first
So you don’t have any meta taxonomies defined now?
As for the Simple taxonomies plugin, yes it does almost the same thing. If you’re starting fresh and you don’t need the advanced features of this plugin, I would recommend you use that one actually.
Hi, great plugin! I have several questions:
- Is it possible to use permalinks? That means not http://example.com/?foo=bar, but http://example.com/foo/bar?
- Is it possible to show another key in URL? That means that I have custom field key wp_value1 and I do not want to replace it (there are other things dependent), but I would like to show URL http://example.com/?foo=bar and not http://example.com/?wp_value1=bar.
- Values in other languages are not very nice. For example “Jiří Antoš” is in URL http://example.com/?foo=Ji%C5%99%C3%AD+Anto%C5%A1. It would be much more better http://example.com/?foo=jiri-antos (or the best permalink http://example.com/foo/jiri-antos).
And not related to this plugin: Comment field in IE7 on this web does not work correctly, when you write more than 1 row, you can not see previous row…
Is this plugin gettexted, so can be translated? I did not find .pot file in its archive…
Thank you for this plugin…
For the 3 points, I’m afraid you’ll have to use the Custom Taxnomies plugin – custom fields can only be stretched so much.
The only thing I could do in this respect is to write something that migrates from custom fields to native taxonomies.
And no, it’s not currently translatable.
Yes, I know about for example Simple Taxonomies plugin and it works well, but I have all related data saved as custom fields (and I am not alone). It would be very helpfull for many users to have some kind of “bridge” between custom fields and taxonomies in the way described above (key = taxonomy, values = tags). There is also related problem – could be this migration someway scheduled or automated? Because there are other plugins which automatically create new custom field values which should be migrated into taxonomies…
Thank you very much!
Yes, I suppose it can be automated. It’s not an optimal solution, but it could work.
I think it would be best as a separate plugin.
I am not sure, but I am looking forward to this feature. It would be fine to have everything in one plugin (migration + showing custom taxonomies for example in widget) not to be dependent on other plugin from other author, but it is also not serious problem. Custom fields should stay where they are now, only taxonomies could be created from selected custom keys (and do it automatically every day or post is created / edited). Thank you very much, many users will appreciate it, I guess…
Hi, sorry for bothering you, but is there any progress?
Yes, I’ve got a script that inserts custom fields as terms. Pretty basic, but it works.
However, I don’t know how the synchronisation would work.
Is possible rewrite urls? Like /customFieldName/customFieldValue.html?
Great plugin
Yeah, for simple queries like that, it would be possible.