Описание
Custom fields are great for storing various meta data about a post. However, if you routinely need to display posts that have a certain custom field value, you should consider switching to a custom taxonomy, which is better suited for grouping posts.
With this simple plugin, you can convert all custom fields with a certain key to terms in a certain taxonomy, while maintaining the post association.
Note: If you’re looking for the old version, see Custom Query Fields
Links: Plugin News | Author’s Site
Скриншоты
Установка
- Unzip the archive and put the folder into your plugins folder (/wp-content/plugins/).
- Activate the plugin from the Plugins admin menu.
- Go to Tools -> CF Taxonomies
Часто задаваемые вопросы
- Error on activation: «Parse error: syntax error, unexpected…»
-
Make sure your host is running PHP 5. The only foolproof way to do this is to add this line to wp-config.php (after the opening
<?php
tag):var_dump(PHP_VERSION);
Отзывы
Участники и разработчики
«Custom Field Taxonomies» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «Custom Field Taxonomies» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
2.0.3
- fixed severe bug in custom field dropdown
- updated scbFramework
2.0.2
- more detailed error messages
- convert to any taxonomy with ‘show_ui’ => true
2.0.1
- fixed error with existing terms
- proper handling of custom fields with ‘,’ in them
- more info
2.0
- new direction: convert custom fields to taxonomy terms
- more info
1.4
- added support for ranges: ?price-min=100&price-max=300
- security enhancements
- more info
1.3.4
- fixed «Remove duplicates» button
- dropped support for WordPress older than 2.8
1.3.3
- ajax-ed admin page
1.3.2
- fixed meta_cloud() args
1.3.1
- fixed «Save taxonomies» button
- added two hooks
1.3
- added AND, OR queries
- fixed compatibility with Smarter Navigation
- more info
1.2
- revamped Admin Page
- option to sort posts by key=value order
- doesn’t mess with other loops except the main WP loop
- more info
1.1
- wildcard support
- option to show posts that don’t match all key=value pairs
- more info
1.0
- several bugfixes and enhancements
- more info
0.9
- meta search box
- more info
0.8
- custom field management
- more info
0.7
- multiple key=value pairs
- more info
0.6
- relative URLs
- more info
0.5
- initial release
- more info