Custom Field Taxonomies: Version 1.3

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.

comments powered by Disqus