Описание
Images for categories, tags, and other taxonomy terms
WP Term Images allows users to assign images to any visible category, tag, or taxonomy term using the media library, providing a customized look for their taxonomies.
Dependencies
Not since WordPress 4.4.
Install the WP Term Meta plugin if you’re on an earlier version.
Also checkout
Установка
- Download and install using the built in WordPress plugin installer.
- Activate in the «Plugins» area of your admin by clicking the «Activate» link.
- No further setup or configuration is necessary.
Часто задаваемые вопросы
-
Does this create new database tables?
-
No. There are no new database tables with this plugin.
-
Does this modify existing database tables?
-
No. All of WordPress’s core database tables remain untouched.
-
How do I get the image for a term?
-
With WordPress’s
get_term_meta()
function// image id is stored as term meta $image_id = get_term_meta( 7, 'image', true ); // image data stored in array, second argument is which image size to retrieve $image_data = wp_get_attachment_image_src( $image_id, 'full' ); // image url is the first item in the array (aka 0) $image = $image_data[0]; if ( ! empty( $image ) ) { echo '<img src="' . esc_url( $image ) . '" />'; }
-
Как получить поддержку?
-
- Basic: https://wordpress.org/support/plugin/wp-term-images/
- Priority: https://chat.flox.io/support/channels/wp-term-images/
-
Где я могу найти документацию?
-
http://github.com/stuttter/wp-term-images/
Отзывы
Участники и разработчики
«WP Term Images» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
Участники«WP Term Images» переведён на 10 языков. Благодарим переводчиков за их работу.
Перевести «WP Term Images» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
[1.0.0] — 2017-01-16
- Stability!
- Fix text domains
- Simplify some JavaScript
- Handle more JavaScript edge-cases
[0.3.1] — 2016-07-13
- Fix regular edits
[0.3.0] — 2016-05-27
- Fix quick-edits
- Update WP Term Meta UI dependency to 0.1.9
[0.2.0] — 2016-01-07
- Fix new-term form action hi-jacking
- Update WP Term Meta UI dependency to 0.1.4
[0.1.0] — 2015-11-09
- Первый релиз